68 void remove(
const int& index);
71 const std::string&
name(
void)
const;
72 void name(
const std::string& name);
73 const GTime&
time(
const int& index)
const;
74 void time(
const int& index,
const GTime& time);
75 const double&
value(
const int& index)
const;
76 void value(
const int& index,
const double& value);
void init_members(void)
Initialise class members.
std::string classname(void) const
Return class name.
const double & value(const int &index) const
Return reference to Housekeeping Data value.
GCOMHkd & operator=(const GCOMHkd &hkd)
Assignment operator.
int size(void) const
Return number of times.
std::vector< double > m_values
Values at times.
GCOMHkd * clone(void) const
Clone Housekeeping Data container.
virtual ~GCOMHkd(void)
Destructor.
Time container class definition.
GCOMHkd(void)
Void constructor.
void clear(void)
Clear Housekeeping Data container.
bool is_empty(void) const
Signals if there are no Housekeeping Data in container.
int size(void) const
Return number of Housekeeping Data in container.
const GTime & time(const int &index) const
Return reference to Housekeeping Data time.
void reserve(const int &num)
Reserves space for Housekeeping Data in container.
COMPTEL Housekeeping Data container class.
std::string print(const GChatter &chatter=NORMAL) const
Print Housekeeping Data container.
void copy_members(const GCOMHkd &hkd)
Copy class members.
const std::string & name(void) const
Return Housekeeping Data name.
void reserve(const int &num)
Reserve memory for times in container.
std::string m_name
Name of housekeeping parameter.
Definition of interface for container classes.
void append(const GTime &time, const double &value)
Append Housekeeping Data to container.
void extend(const GCOMHkd &hkd)
Extend Housekeeping Data.
Interface class for container classes.
bool is_empty(void) const
Signal if there are no times.
void free_members(void)
Delete class members.