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
CWVRMethod Class Reference

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

#include <CWVRMethod.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 WVRMethodMod::WVRMethod.
static std::string name (const WVRMethodMod::WVRMethod &e)
 Returns an enumerator as a string.
static std::string toString (const WVRMethodMod::WVRMethod &f)
 Equivalent to the name method.
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings.
static WVRMethodMod::WVRMethod newWVRMethod (const std::string &name)
 Create a WVRMethod enumeration object by specifying its name.
static WVRMethodMod::WVRMethod literal (const std::string &name)
static WVRMethodMod::WVRMethod 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 WVRMethodMod::WVRMethod.
static std::string name (const WVRMethodMod::WVRMethod &e)
 Returns an enumerator as a string.
static std::string toString (const WVRMethodMod::WVRMethod &f)
 Equivalent to the name method.
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings.
static WVRMethodMod::WVRMethod newWVRMethod (const std::string &name)
 Create a WVRMethod enumeration object by specifying its name.
static WVRMethodMod::WVRMethod literal (const std::string &name)
static WVRMethodMod::WVRMethod from_int (unsigned int i)

Static Public Attributes

static const std::string & sATM_MODEL
 Enumerators as strings.
static const std::string & sEMPIRICAL

Private Member Functions

 CWVRMethod ()
 CWVRMethod (const CWVRMethod &)
CWVRMethodoperator= (const CWVRMethod &)
 CWVRMethod ()
 CWVRMethod (const CWVRMethod &)
CWVRMethodoperator= (const CWVRMethod &)

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 WVRMethod.

Definition at line 83 of file CWVRMethod.h.


Constructor & Destructor Documentation

CWVRMethod::CWVRMethod ( ) [private]
CWVRMethod::CWVRMethod ( const CWVRMethod ) [private]
CWVRMethod::CWVRMethod ( ) [private]
CWVRMethod::CWVRMethod ( const CWVRMethod ) [private]

Member Function Documentation

static std::string CWVRMethod::badInt ( unsigned int  i) [static, private]
static std::string CWVRMethod::badInt ( unsigned int  i) [static, private]
static std::string CWVRMethod::badString ( const std::string &  name) [static, private]
static std::string CWVRMethod::badString ( const std::string &  name) [static, private]
static WVRMethodMod::WVRMethod CWVRMethod::from_int ( unsigned int  i) [static]

Return a WVRMethod's enumerator given an unsigned int.

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

Return a WVRMethod's enumerator given an unsigned int.

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

Return a WVRMethod's enumerator given a string.

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

Return a WVRMethod's enumerator given a string.

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

Returns an enumerator as a string.

Parameters:
ean enumerator of WVRMethodMod::WVRMethod.
Returns:
a string.
static std::string CWVRMethod::name ( const WVRMethodMod::WVRMethod &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of WVRMethodMod::WVRMethod.
Returns:
a string.
static const std::vector<std::string> CWVRMethod::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> CWVRMethod::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 WVRMethodMod::WVRMethod CWVRMethod::newWVRMethod ( const std::string &  name) [static]

Create a WVRMethod enumeration object by specifying its name.

static WVRMethodMod::WVRMethod CWVRMethod::newWVRMethod ( const std::string &  name) [static]

Create a WVRMethod enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the revision as a string.

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

Return the number of enumerators declared in WVRMethodMod::WVRMethod.

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

Return the number of enumerators declared in WVRMethodMod::WVRMethod.

Returns:
an unsigned int.
static std::string CWVRMethod::toString ( const WVRMethodMod::WVRMethod &  f) [inline, static]

Equivalent to the name method.

Definition at line 127 of file CWVRMethod.h.

static std::string CWVRMethod::toString ( const WVRMethodMod::WVRMethod &  f) [inline, static]

Equivalent to the name method.

Definition at line 127 of file CWVRMethod.h.

static int CWVRMethod::version ( ) [static]

Return the major version number as an int.

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

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CWVRMethod::sATM_MODEL [static]

Enumerators as strings.

A const string equal to "ATM_MODEL".

Definition at line 90 of file CWVRMethod.h.

static const std::string & CWVRMethod::sEMPIRICAL [static]

A const string equal to "EMPIRICAL".

Definition at line 92 of file CWVRMethod.h.


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