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