00001 /*****************************************************************************/ 00002 /* */ 00003 /* XrdMonSndTraceEntry.cc */ 00004 /* */ 00005 /* (c) 2005 by the Board of Trustees of the Leland Stanford, Jr., University */ 00006 /* All Rights Reserved */ 00007 /* Produced by Jacek Becla for Stanford University under contract */ 00008 /* DE-AC02-76SF00515 with the Department of Energy */ 00009 /*****************************************************************************/ 00010 00011 // $Id: XrdMonSndTraceEntry.cc 22437 2008-03-04 14:35:16Z rdm $ 00012 00013 #include "XrdMon/XrdMonSndTraceEntry.hh" 00014 using std::ostream; 00015 00016 XrdMonSndTraceEntry::XrdMonSndTraceEntry(kXR_int64 offset, 00017 kXR_int32 length, 00018 kXR_int32 id) 00019 : _offset(offset), 00020 _length(length), 00021 _id(id) 00022 {} 00023 00024 ostream& 00025 operator<<(ostream& o, const XrdMonSndTraceEntry& m) 00026 { 00027 o << m._offset << " " << m._length << " " << m._id; 00028 return o; 00029 } 00030 00031 00032 00033