xrootd
XrdMonSndTraceEntry.hh
Go to the documentation of this file.
1 /*****************************************************************************/
2 /* */
3 /* XrdMonSndTraceEntry.hh */
4 /* */
5 /* (c) 2005 by the Board of Trustees of the Leland Stanford, Jr., University */
6 /* All Rights Reserved */
7 /* Produced by Jacek Becla for Stanford University under contract */
8 /* DE-AC02-76SF00515 with the Department of Energy */
9 /*****************************************************************************/
10 
11 // $Id$
12 
13 #ifndef XRDMONSNDTRACEENTRY_HH
14 #define XRDMONSNDTRACEENTRY_HH
15 
16 #include "XrdMon/XrdMonTypes.hh"
17 #include "XrdSys/XrdSysHeaders.hh"
18 
19 using std::ostream;
20 
22 public:
25  kXR_int32 id);
26 
27  kXR_int64 offset() const { return _offset; }
28  kXR_int32 length() const { return _length; }
29  kXR_int32 id() const { return _id; }
30 
31 private:
35 
36  friend ostream& operator<<(ostream& o,
37  const XrdMonSndTraceEntry& m);
38 };
39 
40 #endif /* XRDMONSNDTRACEENTRY_HH */