#include <MP7FileReader.h>
Public Types | |
typedef std::vector< FileData > ::const_iterator | const_iterator |
expose vector's const iterator More... | |
Public Member Functions | |
const_iterator | begin () |
vector's begin iterator More... | |
const_iterator | end () |
vector's end iterator More... | |
const FileData & | get (size_t k) const |
data getter via index More... | |
MP7FileReader (const std::string &path) | |
std::vector< std::string > | names () const |
raw data name collector More... | |
const std::string & | path () const |
source file path More... | |
size_t | size () const |
number of rawdata objects stored More... | |
bool | valid () const |
reader status. valid() == 1 indicates that data was successfully read from file More... | |
virtual | ~MP7FileReader () |
Public Attributes | |
std::vector< FileData > | buffers_ |
Private Member Functions | |
void | load () |
std::vector< std::vector < uint64_t > > | readRows () |
std::string | searchBoard () |
std::vector< uint32_t > | searchLinks () |
Static Private Member Functions | |
static uint64_t | validStrToUint64 (const std::string &token) |
Private Attributes | |
std::ifstream | file_ |
std::string | path_ |
bool | valid_ |
Static Private Attributes | |
static boost::regex | reBoard_ |
static boost::regex | reFrame_ |
static boost::regex | reLink_ |
static boost::regex | reQuadChan_ |
static boost::regex | reValid_ |
Definition at line 45 of file MP7FileReader.h.
typedef std::vector<FileData>::const_iterator MP7FileReader::const_iterator |
expose vector's const iterator
Definition at line 49 of file MP7FileReader.h.
MP7FileReader::MP7FileReader | ( | const std::string & | path | ) |
Definition at line 38 of file MP7FileReader.cc.
|
virtual |
Definition at line 62 of file MP7FileReader.cc.
|
inline |
vector's begin iterator
Definition at line 68 of file MP7FileReader.h.
References buffers_.
Referenced by MP7PacketReader::load().
|
inline |
vector's end iterator
Definition at line 71 of file MP7FileReader.h.
References buffers_.
Referenced by MP7PacketReader::load().
const FileData & MP7FileReader::get | ( | size_t | k | ) | const |
data getter via index
Definition at line 68 of file MP7FileReader.cc.
Referenced by Options.Options::__getitem__().
|
private |
Definition at line 83 of file MP7FileReader.cc.
std::vector< std::string > MP7FileReader::names | ( | void | ) | const |
raw data name collector
Definition at line 73 of file MP7FileReader.cc.
|
inline |
|
private |
Definition at line 207 of file MP7FileReader.cc.
|
private |
Definition at line 132 of file MP7FileReader.cc.
|
private |
Definition at line 159 of file MP7FileReader.cc.
|
inline |
number of rawdata objects stored
Definition at line 74 of file MP7FileReader.h.
References buffers_.
Referenced by MP7PacketReader::load().
|
inline |
reader status. valid() == 1 indicates that data was successfully read from file
Definition at line 56 of file MP7FileReader.h.
References valid_.
Referenced by MP7PacketReader::MP7PacketReader(), and MP7PacketReader::valid().
|
staticprivate |
Definition at line 193 of file MP7FileReader.cc.
std::vector<FileData> MP7FileReader::buffers_ |
Definition at line 94 of file MP7FileReader.h.
|
private |
Definition at line 90 of file MP7FileReader.h.
|
private |
Definition at line 89 of file MP7FileReader.h.
Referenced by path().
|
staticprivate |
Definition at line 97 of file MP7FileReader.h.
|
staticprivate |
Definition at line 100 of file MP7FileReader.h.
|
staticprivate |
Definition at line 98 of file MP7FileReader.h.
|
staticprivate |
Definition at line 99 of file MP7FileReader.h.
|
staticprivate |
Definition at line 101 of file MP7FileReader.h.
|
private |
Definition at line 88 of file MP7FileReader.h.
Referenced by valid().