66 void remove(
const int& index);
Definition of interface for container classes.
Time class interface definition.
Interface class for container classes.
void remove(const int &index)
Remove time from container.
GTime & operator[](const int &index)
Return reference to time.
void append(const GTime &time)
Append time to container.
std::string print(const GChatter &chatter=NORMAL) const
Print time container information.
GTimes * clone(void) const
Clone object.
void clear(void)
Clear container.
virtual ~GTimes(void)
Destructor.
bool is_empty(void) const
Signal if there are no times.
GTimes(void)
Void constructor.
void reserve(const int &num)
Reserve memory for times in container.
void extend(const GTimes ×)
Append time container.
void free_members(void)
Delete class members.
std::string classname(void) const
Return class name.
int size(void) const
Return number of times.
GTimes & operator=(const GTimes ×)
Assignment operator.
std::vector< GTime > m_times
List of times.
void insert(const int &index, const GTime &time)
Insert time into container.
void init_members(void)
Initialise class members.
void copy_members(const GTimes ×)
Copy class members.