Class Index | Cross Index | Namespace Index |
TOCReader
Contained in: FrameCPP::Version_3_4_5
Derived from:
FrameCPP::Version_3_4_5::FrameReaderBase
FrameCPP::Version_3_4_5::TOC
Derived by:
FrameCPP::Version_3_4_5::FrameAppendWriterTOC
FrameCPP::Version_3_4_5::FrameReadPlan
#include "../../../../../lib/framecpp/src/Version3_4_5/tocreader.hh"
public function member index: |
|||
TOCReader | (std::istream& in, bool buildToc = false); | Constructor | |
virtual | ~TOCReader | (); | Destructor |
inline const adcNamePositionMap_type& | getAdcNamePositionMap | () const; | Get ADC std::map |
inline const std::vector<REAL_8>& | getDt | () const; | Get frame durations |
inline const std::map< std::string, std::vector<eventAttr> >& | getEventNamePositionMap | () const; | Get event data std::map |
inline const std::vector<INT_4U>& | getFrame | () const; | Get frame numbers |
inline const std::vector<Time>& | getGTime | () const; | Get frame time stamps |
inline const std::vector<INT_8U>& | getPosition | () const; | Get frame header positions |
inline const std::vector<INT_8U>& | getPositionADC | () const; | Get first ADC structure positions |
inline const std::vector<INT_8U>& | getPositionMsg | () const; | Get message structure positions |
inline const std::vector<INT_8U>& | getPositionSer | () const; | Get first serial data structure positions |
inline const std::vector<INT_8U>& | getPositionTable | () const; | Get first referenced from raw data structure table structure positions |
inline const std::map< std::string, std::vector<INT_8U> >& | getProcNamePositionMap | () const; | Get post-processed data std::map |
inline const std::vector<INT_4S>& | getRuns | () const; | Get frame run numbers |
inline const std::vector<INT_2U>& | getSHid | () const; | Get structure IDs |
inline const std::vector<std::string>& | getSHname | () const; | Get structure names |
inline const std::map< std::string, std::vector<INT_8U> >& | getSerNamePositionMap | () const; | Get serial data std::map |
inline const std::map< std::string, std::vector<eventAttr> >& | getSimEventNamePositionMap | () const; | Get simulated event data std::map |
inline const std::map< std::string, std::pair< std::string, std::vector< std::pair< std::vector< INT_4U >, INT_8U > > > >& | getStatNamePositionMap | () const; | Get static data std::map |
inline const std::map< std::string, std::vector<INT_8U> >& | getSumNamePositionMap | () const; | Get summary data std::map |
inline const INT_2S | getULeapS | () const; | Get leap second from the first frame |
inline AdcData* | readADC | (unsigned long frameNumber, std::string adcName); | Get one ADC channel from one frame |
inline std::vector<AdcData*> | readADC | (std::string adcName); | Get named ADC channel from all frames |
std::vector< Event* > | readEvent | (); | Get all events from the file |
std::vector< Event* > | readEvent | (std::string eventName); | Get all named events |
std::vector< Event* > | readEvent | (std::string eventName, Time time); | Get all named events with certain time |
Frame* | readFrame | (unsigned long frameNumber); | Fully read one frame |
Frame* | readFrameHeader | (unsigned long frameNumber); | Read one frame header |
inline ProcData* | readProc | (unsigned long frameNumber, std::string procName); | Get one processed data structure from one frame |
inline std::vector<ProcData*> | readProc | (std::string procName); | Get named processed data structure from all frames |
inline SerData* | readSer | (unsigned long frameNumber, std::string serName); | Get one serial data structure from one frame |
inline std::vector<SerData*> | readSer | (std::string serName); | Get named serial data structure from all frames |
inline SimData* | readSim | (unsigned long frameNumber, std::string simName); | Get one simulated data structure from one frame |
inline std::vector<SimData*> | readSim | (std::string simName); | Get named simulated data structure from all frames |
std::vector< SimEvent* > | readSimEvent | (); | Get all simulated events from the file |
std::vector< SimEvent* > | readSimEvent | (std::string simName); | Get all named simulated events |
std::vector< SimEvent* > | readSimEvent | (std::string simName, Time time); | Get all named simulated events with certain time |
std::vector< StatData* > | readStat | (); | Get all statics from the file |
StatData* | readStat | (const std::string& statName, INT_4U time); | Get a static from the file for certain time with the highest version number |
std::vector< StatData* > | readStatName | (const std::string& statName); | Get all named statics from the file |
std::vector< StatData* > | readStatTime | (const std::string& statName, INT_4U time); | Get all named statics from the file for certain time |
inline std::vector<Summary*> | readSum | (std::string sumName); | Get named summary data structure from all frames |
inline Summary* | readSummary | (unsigned long frameNumber, std::string sumName); | Get one summary data structure from one frame |
protected function member index: |
|||
virtual void | readBaseHook | (Base* base, INT_2U classId); | |
Base* | readStructure | (bool pick = true); | |
private function member index: |
|||
std::vector<Base*> | read | (INT_2U structureClassId, std::string name); | |
Base* | read | (unsigned long frameNumber, INT_2U structureClassId, std::string name); | |
Exceptions:
Exception | Description |
read_failure | Read failed. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Read single channel from all frames in the file Makes it possible to get a std::vector of structures of particular type. For instance, it is usefull to be able to get a std::vector of FrAdcData structures, where each structure is an instance of an ADC channel from corresponding frame and all ADC structures have the same name. In other words, it will get the data for one ADC channel from all frame in the file. Supports AdcData, ProcData, SimData, SerData and Summary.
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Read single data structure from the specified frame. Supports AdcData, ProcData, SimData, SerData and Summary.
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Read any structure. Read all referenced Table and Vector structures, if `pick' is true.
Exceptions:
Exception | Description |
std::bad_alloc, read_failure |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |
Exceptions:
Exception | Description |
std::bad_alloc, read_failure, not_found_error |