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");
void init_members(void)
Initialise class members.
static GRegistryPointer< const GModel * > & models()
Abstract model base class interface definition.
Interface definition for the model registry class.
std::string classname(void) const
Return class name.
Interface class for registries.
std::string name(const int &index) const
Returns model name.
Smart pointer for registry classes.
void copy_members(const GModelRegistry ®istry)
Copy class members.
int size(void) const
Return number of registered models.
GModelRegistry(void)
Void constructor.
std::string print(const GChatter &chatter=NORMAL) const
Print registry information.
GModel * alloc(const std::string &name) const
Allocate model of given name.
GModelRegistry & operator=(const GModelRegistry ®istry)
Assignment operator.
static GRegistryPointer< std::string > & names()
Interface class definition for registries.
virtual ~GModelRegistry(void)
Destructor.
void free_members(void)
Delete class members.