27#ifndef GMODELSPATIALREGISTRY_HPP
28#define GMODELSPATIALREGISTRY_HPP
72 std::string
name(
const int& index)
const;
88 static int m_number = 0;
107 return (
"GModelSpatialRegistry");
Interface class definition for registries.
Interface definition for the spatial model registry class.
std::string name(const int &index) const
Returns model name.
GModelSpatialRegistry(void)
Void constructor.
GModelSpatialRegistry & operator=(const GModelSpatialRegistry ®istry)
Assignment operator.
GModelSpatial * alloc(const GXmlElement &xml) const
Allocate spatial model that is found in XML element.
void copy_members(const GModelSpatialRegistry ®istry)
Copy class members.
static GRegistryPointer< const GModelSpatial * > & models()
void free_members(void)
Delete class members.
virtual ~GModelSpatialRegistry(void)
Destructor.
int size(void) const
Return number of registered models.
void init_members(void)
Initialise class members.
std::string classname(void) const
Return class name.
std::string print(const GChatter &chatter=NORMAL) const
Print registry information.
Abstract spatial model base class.
Smart pointer for registry classes.
Interface class for registries.