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