115 virtual std::string
classname(
void)
const = 0;
121 virtual int size(
void)
const = 0;
129 virtual std::string
name(
const int& index)
const = 0;
140 std::string
content(
void)
const;
Interface class for registries.
Smart pointer for registry classes.
virtual ~GRegistryPointer(void)
std::string content(void) const
Return list of names in registry.
Information logger interface definition.
GRegistryPointer(const GRegistryPointer< T > &ptr)
GVector log(const GVector &vector)
Computes natural logarithm of vector elements.
std::ostream & operator<<(std::ostream &os, const GBase &base)
Output operator.
virtual ~GRegistry(void)
Destructor.
T & operator[](const int &index) const
Information logger class definition.
Definition of GammaLib typemaps.
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
GRegistryPointer< T > & operator=(const GRegistryPointer< T > &ptr)
virtual std::string classname(void) const =0
Return class name.
virtual int size(void) const =0
Return number of classes in registry.
virtual std::string name(const int &index) const =0
Return name of registered class by index.