72 const GCOMHkd&
at(
const int& index)
const;
79 void remove(
const int& index);
81 bool contains(
const std::string& name)
const;
92 int get_index(
const std::string& name)
const;
153 return (
int)
m_hkds.size();
void load(const GFilename &filename)
Load Housekeeping Data collection from FITS file.
GCOMHkd & append(const GCOMHkd &hkd)
Append Housekeeping Data container to collection.
GCOMHkd & at(const int &index)
Return reference to Housekeeping Data container.
GCOMHkds * clone(void) const
Clone Housekeeping Data collection.
std::string classname(void) const
Return class name.
GCOMHkd & insert(const int &index, const GCOMHkd &hkd)
Insert Housekeeping Data container into collection.
GCOMHkds & operator=(const GCOMHkds &hkds)
Assignment operator.
void reserve(const int &num)
Reserves space for Housekeeping Data containers in collection.
void init_members(void)
Initialise class members.
void clear(void)
Clear Housekeeping Data collection.
void read(const GFitsTable &table)
Read Housekeeping Data collection from FITS table.
void copy_members(const GCOMHkds &hkds)
Copy class members.
bool is_empty(void) const
Signals if there are no Housekeeping Data containers in collection.
std::vector< GCOMHkd > m_hkds
Housekeeping Data containers.
COMPTEL Housekeeping Data collection class.
COMPTEL Housekeeping Data container class definition.
Abstract interface for FITS table.
void extend(const GCOMHkds &hkds)
Extend Housekeeping Data collection.
std::string print(const GChatter &chatter=NORMAL) const
Print Housekeeping Data collection.
void free_members(void)
Delete class members.
COMPTEL Housekeeping Data container class.
int size(void) const
Return number of Housekeeping parameters in collection.
bool contains(const std::string &name) const
Signals if Housekeeping parameter exists in collection.
int get_index(const std::string &name) const
Return Housekeeping Data container index by parameter name.
virtual ~GCOMHkds(void)
Destructor.
Definition of interface for container classes.
GCOMHkds(void)
Void constructor.
GCOMHkd & operator[](const int &index)
Return reference to Housekeeping Data container.
GCOMHkd & set(const int &index, const GCOMHkd &hkd)
Set Housekeeping Data container in collection.
Interface class for container classes.