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