11 #ifndef EVIO_6_0_RECORDNODE_H
12 #define EVIO_6_0_RECORDNODE_H
54 len = count = pos = place = 0;
61 uint32_t
getLen()
const {
return len;}
114 std::stringstream ss;
116 ss <<
"len = " << len;
117 ss <<
", count = " << count;
118 ss <<
", pos = " << pos;
119 ss <<
", place = " << place;
129 #endif //EVIO_6_0_RECORDNODE_H
size_t getPos() const
Get the position of this record in the file/buffer.
Definition: RecordNode.h:87
void setPos(size_t p)
Set the position of this record in the file/buffer.
Definition: RecordNode.h:93
This class is used to store relevant info about an evio record (or block) along with its position in ...
Definition: RecordNode.h:30
uint32_t getLen() const
Get the record's length in 32-bit words.
Definition: RecordNode.h:61
This class is used to read an evio format version 4 formatted file or buffer and extract specific evi...
Definition: EvioCompactReaderV4.h:54
std::string toString() const
Get a string representation of this object.
Definition: RecordNode.h:113
uint32_t getCount() const
Get the number of events in this record.
Definition: RecordNode.h:74
uint32_t getPlace() const
Get the place of this record in file/buffer.
Definition: RecordNode.h:100
void setLen(uint32_t l)
Set the record's length in 32-bit words.
Definition: RecordNode.h:67
void setCount(uint32_t c)
Set the number of events in this record.
Definition: RecordNode.h:80
void clear()
Set all internal values to 0.
Definition: RecordNode.h:53
void setPlace(uint32_t p)
Set the place of this record in file/buffer.
Definition: RecordNode.h:106