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");
Interface class definition for registries.
Abstract world coordinate system base class definition.
Smart pointer for registry classes.
Interface class for registries.
Interface definition for the WCS registry class.
void copy_members(const GWcsRegistry ®istry)
Copy class members.
static GRegistryPointer< std::string > & codes()
std::string print(const GChatter &chatter=NORMAL) const
Print registry information.
GWcsRegistry & operator=(const GWcsRegistry ®istry)
Assignment operator.
std::string name(const int &index) const
Returns projection name.
void free_members(void)
Delete class members.
std::string classname(void) const
Return class name.
static GRegistryPointer< const GWcs * > & projections()
GWcsRegistry(void)
Void constructor.
static GRegistryPointer< std::string > & names()
int size(void) const
Return number of registered models.
virtual ~GWcsRegistry(void)
Destructor.
GWcs * alloc(const std::string &code) const
Allocate World Coordinate System of given code.
void init_members(void)
Initialise class members.
std::string code(const int &index) const
Returns projection code.
Abstract world coordinate system base class.