class diagIndex : public diagObject Manager class for the index.
| | diagIndex () Default constructor. |
| | self () Reference object. |
| | isCategory (const string& cat, int step, string* catname = 0) const Chack index category method. |
| | getMasterIndex (gdsDataObject& obj, masterindex& index) const Get master index method. |
| | setMasterIndex (gdsDataObject& obj, const masterindex& index) const Set master index method. |
| | setEntry (gdsDataObject& obj, const string& category, int step, const string& entry) const Set entry method. |
| | getEntry (gdsDataObject& obj, const string& category, int step, string& entry) const Get entry method. |
| | delEntry (gdsDataObject& obj, const string& category, int step) const Delete entry method. |
| | channelEntry (std::ostream& os, int num, const string& name, char type = ' ') Write channel entry method. |
| | resultEntry (std::ostream& os, int res, int ofs, int len, int i1, int i2 = -1) Write result entry method. |
This class manages the access to the index.
static const string indexCat
static const string indexEqual
static const string indexEnd
typedef std::map <string, int> masterindex
diagIndex()
static const diagIndex& self()
bool isCategory(const string& cat, int step, string* catname = 0) const
step - step number of category (-1 = none)
catname - canonical category name with step index (return)
bool getMasterIndex(gdsDataObject& obj, masterindex& index) const
index - master index (return)
bool setMasterIndex(gdsDataObject& obj, const masterindex& index) const
index - master index
bool setEntry(gdsDataObject& obj, const string& category, int step, const string& entry) const
category - index entry type
step - step number of category (-1 = none)
entry - index entry string
bool getEntry(gdsDataObject& obj, const string& category, int step, string& entry) const
category - index entry type
step - step number of category (-1 = none)
entry - index entry string (return)
bool delEntry(gdsDataObject& obj, const string& category, int step) const
category - index entry type
step - step number of category (-1 = none)
static std::ostream& channelEntry(std::ostream& os, int num, const string& name, char type = ' ')
num - channel number
name - channel name
type - type of channel: 'A', 'B' or ' '
static std::ostream& resultEntry(std::ostream& os, int res, int ofs, int len, int i1, int i2 = -1)
res - index of result object
ofs - data offset
len - data length
i1 - first index of entry
i1 - second index of entry
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++