36 #define G_COORDSYS_SET "GSkyProjection::coordsys(std::string)"
150 std::string s_coordsys;
159 s_coordsys =
"UNKNOWN";
187 if (ucoordsys ==
"EQU" || ucoordsys ==
"CEL" || ucoordsys ==
"C") {
190 else if (ucoordsys ==
"GAL" || ucoordsys ==
"G") {
194 std::string msg =
"Invalid coordinate system "+coordsys+
" specified. "
195 "Please specify one of \"EQU\",\"CEL\",\"C\",\"GAL\""
virtual GSkyProjection & operator=(const GSkyProjection &proj)
Assignment operator.
Abstract sky projection base class definition.
void copy_members(const GSkyProjection &proj)
Copy class members.
virtual bool compare(const GSkyProjection &proj) const =0
GSkyProjection(void)
Void constructor.
int m_coordsys
0=CEL, 1=GAL
virtual std::string coordsys(void) const
Returns coordinate system.
void free_members(void)
Delete class members.
Exception handler interface definition.
void init_members(void)
Initialise class members.
std::string toupper(const std::string &s)
Convert string to upper case.
bool operator==(const GEnergy &a, const GEnergy &b)
Energy equality operator friend.
Abstract sky projection base class.
bool operator!=(const GEbounds &a, const GEbounds &b)
Energy boundaries inequality operator friend.
virtual ~GSkyProjection(void)
Destructor.