framefast::toc_t Struct Reference

Table of contents (TOC). More...

#include <frametype.hh>

Inheritance diagram for framefast::toc_t:

framefast::generic_t

List of all members.

Public Member Functions

 toc_t ()
 Initialize with zeros.
 toc_t (const toc_t &toc)
 Copy constructor.
 ~toc_t ()
 Destructor.
toc_toperator= (const toc_t &toc)
 Copy operator.
bool allocate (int newsize, int datablck=0)
 Allocate array for channel entries.
bool init (int version)
 initialize TOC; set fNFrame before calling
int read (int version, const char *p, bool swap=false)
 Read from frame.
bool scan (const char *p, int len, bool swap=false)
 Scan through frame and regenerate TOC (call init first).
int write (int version, char *p, bool swap=false) const
 Write to frame.
int size (int version) const
 Size the TOC would take up when written to frame.
toc_data_tfind (const char *chnname) const
 find a channel entry
toc_data_tfind (const char *chnname, int datablck) const
 find a channel entry
toc_data_tadd (const char *chnname, int datablck=0)
 add a channel entry
toc_detector_tfindDetector (const char *name) const
 find detector entry
toc_detector_taddDetector (const char *name)
 add detector entry

Public Attributes

int_2s_t fULeapS
 Leap sec.
int_4s_t fLocalTime
 loacl time (V4 only)
int_4u_t fNFrame
 Number of frames.
toc_frame_tfFrames
 List of frames.
int_4u_t fNSH
 Number of frame structure headers.
toc_SH_tfSH
 List of frame structure headers.
int_4u_t fNDetector
 Number of detector information records.
toc_detector_tfDetInfo
 Detector information records.
int_4u_t fNStatType
 Number of static blocks.
toc_stat_tfStat
 List of static blocks.
int_4u_t fNData [5]
 Number of data blocks: ADC, Proc, Sim, Ser, Summary.
toc_data_tfData [5]
 List of data blocks: ADC, Proc, Sim, Ser, Summary.
int_4u_t fNEvt [2]
 Number of events: Trig, SimEvt.
toc_Event_tfEvt [2]
 List of events.


Detailed Description

Table of contents (TOC).
The documentation for this struct was generated from the following file:
Generated on Sun Mar 8 19:21:22 2009 for dmt by  doxygen 1.5.4