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