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