27 #ifndef GWCSREGISTRY_HPP
28 #define GWCSREGISTRY_HPP
69 std::string
code(
const int& index)
const;
70 std::string
name(
const int& index)
const;
86 static int m_number = 0;
102 return m_projections;
115 return (
"GWcsRegistry");
std::string name(const int &index) const
Returns projection name.
void free_members(void)
Delete class members.
Interface definition for the WCS registry class.
std::string classname(void) const
Return class name.
std::string print(const GChatter &chatter=NORMAL) const
Print registry information.
GWcsRegistry(void)
Void constructor.
Interface class for registries.
virtual ~GWcsRegistry(void)
Destructor.
Smart pointer for registry classes.
GWcs * alloc(const std::string &code) const
Allocate World Coordinate System of given code.
void copy_members(const GWcsRegistry ®istry)
Copy class members.
static GRegistryPointer< std::string > & codes()
void init_members(void)
Initialise class members.
Abstract world coordinate system base class.
static GRegistryPointer< std::string > & names()
GWcsRegistry & operator=(const GWcsRegistry ®istry)
Assignment operator.
Interface class definition for registries.
std::string code(const int &index) const
Returns projection code.
int size(void) const
Return number of registered models.
Abstract world coordinate system base class definition.
static GRegistryPointer< const GWcs * > & projections()