#include <frametype.hh>

Public Member Functions | |
| toc_t () | |
| Initialize with zeros. | |
| toc_t (const toc_t &toc) | |
| Copy constructor. | |
| ~toc_t () | |
| Destructor. | |
| toc_t & | operator= (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_t * | find (const char *chnname) const |
| find a channel entry | |
| toc_data_t * | find (const char *chnname, int datablck) const |
| find a channel entry | |
| toc_data_t * | add (const char *chnname, int datablck=0) |
| add a channel entry | |
| toc_detector_t * | findDetector (const char *name) const |
| find detector entry | |
| toc_detector_t * | addDetector (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_t * | fFrames |
| List of frames. | |
| int_4u_t | fNSH |
| Number of frame structure headers. | |
| toc_SH_t * | fSH |
| List of frame structure headers. | |
| int_4u_t | fNDetector |
| Number of detector information records. | |
| toc_detector_t * | fDetInfo |
| Detector information records. | |
| int_4u_t | fNStatType |
| Number of static blocks. | |
| toc_stat_t * | fStat |
| List of static blocks. | |
| int_4u_t | fNData [5] |
| Number of data blocks: ADC, Proc, Sim, Ser, Summary. | |
| toc_data_t * | fData [5] |
| List of data blocks: ADC, Proc, Sim, Ser, Summary. | |
| int_4u_t | fNEvt [2] |
| Number of events: Trig, SimEvt. | |
| toc_Event_t * | fEvt [2] |
| List of events. | |
1.5.4