casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions
CBaselineReferenceCode Class Reference

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

#include <CBaselineReferenceCode.h>

List of all members.

Static Public Member Functions

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

Static Public Attributes

static const std::string & sJ2000
 Enumerators as strings.
static const std::string & sB1950
static const std::string & sGALACTIC
static const std::string & sSUPERGAL
static const std::string & sECLIPTIC
static const std::string & sJMEAN
static const std::string & sJTRUE
static const std::string & sAPP
static const std::string & sBMEAN
static const std::string & sBTRUE
static const std::string & sJNAT
static const std::string & sMECLIPTIC
static const std::string & sTECLIPTIC
static const std::string & sTOPO
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 & sNEPTUN
static const std::string & sSUN
static const std::string & sMOON
static const std::string & sHADEC
static const std::string & sAZEL
static const std::string & sAZELGEO
static const std::string & sAZELSW
static const std::string & sAZELNE
static const std::string & sITRF

Private Member Functions

 CBaselineReferenceCode ()
 CBaselineReferenceCode (const CBaselineReferenceCode &)
CBaselineReferenceCodeoperator= (const CBaselineReferenceCode &)
 CBaselineReferenceCode ()
 CBaselineReferenceCode (const CBaselineReferenceCode &)
CBaselineReferenceCodeoperator= (const CBaselineReferenceCode &)

Static Private Member Functions

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

Detailed Description

A helper class for the enumeration BaselineReferenceCode.

Definition at line 135 of file CBaselineReferenceCode.h.


Constructor & Destructor Documentation


Member Function Documentation

static std::string CBaselineReferenceCode::badInt ( unsigned int  i) [static, private]
static std::string CBaselineReferenceCode::badInt ( unsigned int  i) [static, private]
static std::string CBaselineReferenceCode::badString ( const std::string &  name) [static, private]
static std::string CBaselineReferenceCode::badString ( const std::string &  name) [static, private]
static BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::from_int ( unsigned int  i) [static]

Return a BaselineReferenceCode's enumerator given an unsigned int.

Parameters:
ithe index of the enumerator in BaselineReferenceCodeMod::BaselineReferenceCode.
Returns:
a BaselineReferenceCodeMod::BaselineReferenceCode's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this integer.
static BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::from_int ( unsigned int  i) [static]

Return a BaselineReferenceCode's enumerator given an unsigned int.

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

Return a BaselineReferenceCode's enumerator given a string.

Parameters:
namethe string representation of the enumerator.
Returns:
a BaselineReferenceCodeMod::BaselineReferenceCode's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this name.
static BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::literal ( const std::string &  name) [static]

Return a BaselineReferenceCode's enumerator given a string.

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

Returns an enumerator as a string.

Parameters:
ean enumerator of BaselineReferenceCodeMod::BaselineReferenceCode.
Returns:
a string.
static std::string CBaselineReferenceCode::name ( const BaselineReferenceCodeMod::BaselineReferenceCode &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of BaselineReferenceCodeMod::BaselineReferenceCode.
Returns:
a string.
static const std::vector<std::string> CBaselineReferenceCode::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 const std::vector<std::string> CBaselineReferenceCode::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 BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::newBaselineReferenceCode ( const std::string &  name) [static]

Create a BaselineReferenceCode enumeration object by specifying its name.

static BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::newBaselineReferenceCode ( const std::string &  name) [static]

Create a BaselineReferenceCode enumeration object by specifying its name.

CBaselineReferenceCode& CBaselineReferenceCode::operator= ( const CBaselineReferenceCode ) [private]
CBaselineReferenceCode& CBaselineReferenceCode::operator= ( const CBaselineReferenceCode ) [private]
static std::string CBaselineReferenceCode::revision ( ) [static]

Return the revision as a string.

Returns:
a string
static std::string CBaselineReferenceCode::revision ( ) [static]

Return the revision as a string.

Returns:
a string
static unsigned int CBaselineReferenceCode::size ( ) [static]

Return the number of enumerators declared in BaselineReferenceCodeMod::BaselineReferenceCode.

Returns:
an unsigned int.
static unsigned int CBaselineReferenceCode::size ( ) [static]

Return the number of enumerators declared in BaselineReferenceCodeMod::BaselineReferenceCode.

Returns:
an unsigned int.
static std::string CBaselineReferenceCode::toString ( const BaselineReferenceCodeMod::BaselineReferenceCode &  f) [inline, static]

Equivalent to the name method.

Definition at line 231 of file CBaselineReferenceCode.h.

static std::string CBaselineReferenceCode::toString ( const BaselineReferenceCodeMod::BaselineReferenceCode &  f) [inline, static]

Equivalent to the name method.

Definition at line 231 of file CBaselineReferenceCode.h.

static int CBaselineReferenceCode::version ( ) [static]

Return the major version number as an int.

Returns:
an int.
static int CBaselineReferenceCode::version ( ) [static]

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CBaselineReferenceCode::sAPP [static]

A const string equal to "APP".

Definition at line 156 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sAZEL [static]

A const string equal to "AZEL".

Definition at line 188 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sAZELGEO [static]

A const string equal to "AZELGEO".

Definition at line 190 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sAZELNE [static]

A const string equal to "AZELNE".

Definition at line 194 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sAZELSW [static]

A const string equal to "AZELSW".

Definition at line 192 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sB1950 [static]

A const string equal to "B1950".

Definition at line 144 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sBMEAN [static]

A const string equal to "BMEAN".

Definition at line 158 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sBTRUE [static]

A const string equal to "BTRUE".

Definition at line 160 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sECLIPTIC [static]

A const string equal to "ECLIPTIC".

Definition at line 150 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sGALACTIC [static]

A const string equal to "GALACTIC".

Definition at line 146 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sHADEC [static]

A const string equal to "HADEC".

Definition at line 186 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sITRF [static]

A const string equal to "ITRF".

Definition at line 196 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sJ2000 [static]

Enumerators as strings.

A const string equal to "J2000".

Definition at line 142 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sJMEAN [static]

A const string equal to "JMEAN".

Definition at line 152 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sJNAT [static]

A const string equal to "JNAT".

Definition at line 162 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sJTRUE [static]

A const string equal to "JTRUE".

Definition at line 154 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sJUPITER [static]

A const string equal to "JUPITER".

Definition at line 176 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sMARS [static]

A const string equal to "MARS".

Definition at line 174 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sMECLIPTIC [static]

A const string equal to "MECLIPTIC".

Definition at line 164 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sMERCURY [static]

A const string equal to "MERCURY".

Definition at line 170 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sMOON [static]

A const string equal to "MOON".

Definition at line 184 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sNEPTUN [static]

A const string equal to "NEPTUN".

Definition at line 180 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sSATURN [static]

A const string equal to "SATURN".

Definition at line 178 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sSUN [static]

A const string equal to "SUN".

Definition at line 182 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sSUPERGAL [static]

A const string equal to "SUPERGAL".

Definition at line 148 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sTECLIPTIC [static]

A const string equal to "TECLIPTIC".

Definition at line 166 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sTOPO [static]

A const string equal to "TOPO".

Definition at line 168 of file CBaselineReferenceCode.h.

static const std::string & CBaselineReferenceCode::sVENUS [static]

A const string equal to "VENUS".

Definition at line 172 of file CBaselineReferenceCode.h.


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