27#ifndef GMODELREGISTRY_HPP
28#define GMODELREGISTRY_HPP
69 std::string
name(
const int& index)
const;
85 static int m_number = 0;
109 return (
"GModelRegistry");
Abstract model base class interface definition.
Interface class definition for registries.
Interface definition for the model registry class.
std::string print(const GChatter &chatter=NORMAL) const
Print registry information.
GModelRegistry & operator=(const GModelRegistry ®istry)
Assignment operator.
void init_members(void)
Initialise class members.
GModelRegistry(void)
Void constructor.
virtual ~GModelRegistry(void)
Destructor.
void free_members(void)
Delete class members.
static GRegistryPointer< const GModel * > & models()
std::string classname(void) const
Return class name.
static GRegistryPointer< std::string > & names()
GModel * alloc(const std::string &name) const
Allocate model of given name.
int size(void) const
Return number of registered models.
void copy_members(const GModelRegistry ®istry)
Copy class members.
std::string name(const int &index) const
Returns model name.
Smart pointer for registry classes.
Interface class for registries.