casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | List of all members
CDirectionReferenceCode Class Reference

A helper class for the enumeration DirectionReferenceCode. More...

#include <CDirectionReferenceCode.h>

Static Public Member Functions

static int version ()
 Return the major version number as an int. More...
 
static std::string revision ()
 Return the revision as a string. More...
 
static unsigned int size ()
 Return the number of enumerators declared in DirectionReferenceCodeMod::DirectionReferenceCode. More...
 
static std::string name (const DirectionReferenceCodeMod::DirectionReferenceCode &e)
 Returns an enumerator as a string. More...
 
static std::string toString (const DirectionReferenceCodeMod::DirectionReferenceCode &f)
 Equivalent to the name method. More...
 
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings. More...
 
static
DirectionReferenceCodeMod::DirectionReferenceCode 
newDirectionReferenceCode (const std::string &name)
 Create a DirectionReferenceCode enumeration object by specifying its name. More...
 
static
DirectionReferenceCodeMod::DirectionReferenceCode 
literal (const std::string &name)
 
static
DirectionReferenceCodeMod::DirectionReferenceCode 
from_int (unsigned int i)
 

Static Public Attributes

static const std::string & sJ2000
 Enumerators as strings. More...
 
static const std::string & sJMEAN
 
static const std::string & sJTRUE
 
static const std::string & sAPP
 
static const std::string & sB1950
 
static const std::string & sB1950_VLA
 
static const std::string & sBMEAN
 
static const std::string & sBTRUE
 
static const std::string & sGALACTIC
 
static const std::string & sHADEC
 
static const std::string & sAZELSW
 
static const std::string & sAZELSWGEO
 
static const std::string & sAZELNE
 
static const std::string & sAZELNEGEO
 
static const std::string & sJNAT
 
static const std::string & sECLIPTIC
 
static const std::string & sMECLIPTIC
 
static const std::string & sTECLIPTIC
 
static const std::string & sSUPERGAL
 
static const std::string & sITRF
 
static const std::string & sTOPO
 
static const std::string & sICRS
 
static const std::string & sMERCURY
 
static const std::string & sVENUS
 
static const std::string & sMARS
 
static const std::string & sJUPITER
 
static const std::string & sSATURN
 
static const std::string & sURANUS
 
static const std::string & sNEPTUNE
 
static const std::string & sPLUTO
 
static const std::string & sSUN
 
static const std::string & sMOON
 

Private Member Functions

 CDirectionReferenceCode ()
 
 CDirectionReferenceCode (const CDirectionReferenceCode &)
 
CDirectionReferenceCodeoperator= (const CDirectionReferenceCode &)
 

Static Private Member Functions

static std::string badString (const std::string &name)
 
static std::string badInt (unsigned int i)
 

Detailed Description

A helper class for the enumeration DirectionReferenceCode.

Definition at line 143 of file CDirectionReferenceCode.h.

Constructor & Destructor Documentation

CDirectionReferenceCode::CDirectionReferenceCode ( )
private
CDirectionReferenceCode::CDirectionReferenceCode ( const CDirectionReferenceCode )
private

Member Function Documentation

static std::string CDirectionReferenceCode::badInt ( unsigned int  i)
staticprivate
static std::string CDirectionReferenceCode::badString ( const std::string &  name)
staticprivate
static DirectionReferenceCodeMod::DirectionReferenceCode CDirectionReferenceCode::from_int ( unsigned int  i)
static

Return a DirectionReferenceCode's enumerator given an unsigned int.

Parameters
ithe index of the enumerator in DirectionReferenceCodeMod::DirectionReferenceCode.
Returns
a DirectionReferenceCodeMod::DirectionReferenceCode's enumerator.
Exceptions
astring containing an error message if no enumerator could be found for this integer.
static DirectionReferenceCodeMod::DirectionReferenceCode CDirectionReferenceCode::literal ( const std::string &  name)
static

Return a DirectionReferenceCode's enumerator given a string.

Parameters
namethe string representation of the enumerator.
Returns
a DirectionReferenceCodeMod::DirectionReferenceCode's enumerator.
Exceptions
astring containing an error message if no enumerator could be found for this name.
static std::string CDirectionReferenceCode::name ( const DirectionReferenceCodeMod::DirectionReferenceCode &  e)
static

Returns an enumerator as a string.

Parameters
ean enumerator of DirectionReferenceCodeMod::DirectionReferenceCode.
Returns
a string.
static const std::vector<std::string> CDirectionReferenceCode::names ( )
static

Returns vector of all the enumerators as strings.

The strings are stored in the vector in the same order than the enumerators are declared in the enumeration.

Returns
a vector of string.
static DirectionReferenceCodeMod::DirectionReferenceCode CDirectionReferenceCode::newDirectionReferenceCode ( const std::string &  name)
static

Create a DirectionReferenceCode enumeration object by specifying its name.

CDirectionReferenceCode& CDirectionReferenceCode::operator= ( const CDirectionReferenceCode )
private
static std::string CDirectionReferenceCode::revision ( )
static

Return the revision as a string.

Returns
a string
static unsigned int CDirectionReferenceCode::size ( )
static

Return the number of enumerators declared in DirectionReferenceCodeMod::DirectionReferenceCode.

Returns
an unsigned int.
static std::string CDirectionReferenceCode::toString ( const DirectionReferenceCodeMod::DirectionReferenceCode &  f)
inlinestatic

Equivalent to the name method.

Definition at line 247 of file CDirectionReferenceCode.h.

static int CDirectionReferenceCode::version ( )
static

Return the major version number as an int.

Returns
an int.

Member Data Documentation

const std::string& CDirectionReferenceCode::sAPP
static

A const string equal to "APP".

Definition at line 156 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sAZELNE
static

A const string equal to "AZELNE".

Definition at line 174 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sAZELNEGEO
static

A const string equal to "AZELNEGEO".

Definition at line 176 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sAZELSW
static

A const string equal to "AZELSW".

Definition at line 170 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sAZELSWGEO
static

A const string equal to "AZELSWGEO".

Definition at line 172 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sB1950
static

A const string equal to "B1950".

Definition at line 158 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sB1950_VLA
static

A const string equal to "B1950_VLA".

Definition at line 160 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sBMEAN
static

A const string equal to "BMEAN".

Definition at line 162 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sBTRUE
static

A const string equal to "BTRUE".

Definition at line 164 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sECLIPTIC
static

A const string equal to "ECLIPTIC".

Definition at line 180 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sGALACTIC
static

A const string equal to "GALACTIC".

Definition at line 166 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sHADEC
static

A const string equal to "HADEC".

Definition at line 168 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sICRS
static

A const string equal to "ICRS".

Definition at line 192 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sITRF
static

A const string equal to "ITRF".

Definition at line 188 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sJ2000
static

Enumerators as strings.

A const string equal to "J2000".

Definition at line 150 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sJMEAN
static

A const string equal to "JMEAN".

Definition at line 152 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sJNAT
static

A const string equal to "JNAT".

Definition at line 178 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sJTRUE
static

A const string equal to "JTRUE".

Definition at line 154 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sJUPITER
static

A const string equal to "JUPITER".

Definition at line 200 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sMARS
static

A const string equal to "MARS".

Definition at line 198 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sMECLIPTIC
static

A const string equal to "MECLIPTIC".

Definition at line 182 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sMERCURY
static

A const string equal to "MERCURY".

Definition at line 194 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sMOON
static

A const string equal to "MOON".

Definition at line 212 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sNEPTUNE
static

A const string equal to "NEPTUNE".

Definition at line 206 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sPLUTO
static

A const string equal to "PLUTO".

Definition at line 208 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sSATURN
static

A const string equal to "SATURN".

Definition at line 202 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sSUN
static

A const string equal to "SUN".

Definition at line 210 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sSUPERGAL
static

A const string equal to "SUPERGAL".

Definition at line 186 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sTECLIPTIC
static

A const string equal to "TECLIPTIC".

Definition at line 184 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sTOPO
static

A const string equal to "TOPO".

Definition at line 190 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sURANUS
static

A const string equal to "URANUS".

Definition at line 204 of file CDirectionReferenceCode.h.

const std::string& CDirectionReferenceCode::sVENUS
static

A const string equal to "VENUS".

Definition at line 196 of file CDirectionReferenceCode.h.


The documentation for this class was generated from the following file: