27 #ifndef GCONTAINER_HPP
28 #define GCONTAINER_HPP
63 virtual int size(
void)
const = 0;
68 virtual bool is_empty(
void)
const = 0;
75 virtual void remove(
const int& index) = 0;
82 virtual void reserve(
const int& num) = 0;
Definition of interface for all GammaLib classes.
virtual int size(void) const =0
Return number of objects in container.
virtual bool is_empty(void) const =0
Checks if container is empty.
Interface class for all GammaLib classes.
virtual ~GContainer(void)
Destructor.
virtual void reserve(const int &num)=0
Reserves space in the container.
Interface class for container classes.