class Table Calibration table.
| | ChannelItem channel list itme
| ||||||||||||||||||||||
| | ChannelNameCmp Compare two channel names |
| | ChannelList Channel list type |
| | Table (const char* lookupfile = 0, bool supdef = true) Default constructor |
| | ~Table () Destructor |
| | Cal () const Get calibration list |
| | Len () const Get length of calibration list |
| | operator [] (int i) Get Calibration records at position i |
| | operator [] (int i) const Get Calibration records at position i |
| | FindFirst (const char* chn) const Find first record with this channel name |
| | Search (const char* chn, const char* ref, const char* unit, const Time& time) const Search for record |
| | Search (const char* chn, const char* ref, const char* unit, const Time& time) Search for record |
| | Search ( const Calibration& rec, CalibrationCmp cmp = CalibrationCmp()) const Search for record |
| | Add (const char* chn, const char* ref, const char* unit, const Time& start = Time (0, 0), bool overwrite = true) Add a record; a pointer to the new record is returned |
| | Add (const Calibration& rec, bool overwrite = true) Add a record; the record will be copied |
| | Delete (const char* chn, const char* ref, const char* unit, const Time& time) Delete a record from the list; true if successful |
| | Delete (const Calibration& rec) Delete a record from the list |
| | Clear () Clear table |
| | GetChannels () const Return the channel list |
| | FindChannel (const char* chn) const Find a channel |
| | AddChannel (const char* chn) Add a channel |
| | DeleteChannel (const char* chn) Delete a channel |
| | ClearChannels () Clear all channels |
| | EnableChannel (const char* chn, bool set = true) Enable a channel |
| | IsEnabledChannel (const char* chn) Is a channel enabled |
| | NumChannels () const Number of channels in list |
| | Import (const char* filename) Import from file |
| | Export (const char* filename) const Export to file |
| | Lookup (bool forceall = false) Lookup calibration information |
| | Lookup (const char* filename, bool forceall = false) Lookup calibration information |
| | AddUnits (Descriptor& cal) Add units to a calibration descriptor |
| | HasDefault () const Is default calibration supported |
| | SupportDefault (bool sup = true) Set default calibration support |
| | DefaultChannel () const return the default calibration channel name |
| | DefaultTFChannel () const return the default transfger function calibration channel name |
A list of calibration records.
bool operator== (const ChannelItem& obj) const
bool operator< (const ChannelItem& obj) const
void SetName(const char* name)
const char* GetName() const
typedef std::map <std::string, ChannelItem, ChannelNameCmp> ChannelList
explicit Table(const char* lookupfile = 0, bool supdef = true)
virtual ~Table()
virtual const CalibrationList& Cal() const
virtual int Len() const
Calibration& operator [] (int i)
const Calibration& operator [] (int i) const
virtual int FindFirst(const char* chn) const
virtual const Calibration* Search(const char* chn, const char* ref, const char* unit, const Time& time) const
virtual Calibration* Search(const char* chn, const char* ref, const char* unit, const Time& time)
virtual const Calibration* Search( const Calibration& rec, CalibrationCmp cmp = CalibrationCmp()) const
virtual bool Add(const char* chn, const char* ref, const char* unit, const Time& start = Time (0, 0), bool overwrite = true)
virtual bool Add(const Calibration& rec, bool overwrite = true)
virtual bool Delete(const char* chn, const char* ref, const char* unit, const Time& time)
virtual bool Delete(const Calibration& rec)
virtual void Clear()
virtual const ChannelList& GetChannels() const
virtual const ChannelItem* FindChannel(const char* chn) const
virtual bool AddChannel(const char* chn)
virtual bool DeleteChannel(const char* chn)
virtual bool ClearChannels()
virtual bool EnableChannel(const char* chn, bool set = true)
virtual bool IsEnabledChannel(const char* chn)
virtual int NumChannels() const
virtual bool Import(const char* filename)
virtual bool Export(const char* filename) const
virtual bool Lookup(bool forceall = false)
virtual bool Lookup(const char* filename, bool forceall = false)
virtual void AddUnits(Descriptor& cal)
virtual bool HasDefault() const
virtual void SupportDefault(bool sup = true)
virtual const char* DefaultChannel() const
virtual const char* DefaultTFChannel() const
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++