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

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

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

Static Public Attributes

static const std::string & sABSOLUTE
 Enumerators as strings.
static const std::string & sRELATIVE
static const std::string & sEFFICIENCY

Private Member Functions

 CFluxCalibrationMethod ()
 CFluxCalibrationMethod (const CFluxCalibrationMethod &)
CFluxCalibrationMethodoperator= (const CFluxCalibrationMethod &)
 CFluxCalibrationMethod ()
 CFluxCalibrationMethod (const CFluxCalibrationMethod &)
CFluxCalibrationMethodoperator= (const CFluxCalibrationMethod &)

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

Definition at line 85 of file CFluxCalibrationMethod.h.


Constructor & Destructor Documentation


Member Function Documentation

static std::string CFluxCalibrationMethod::badInt ( unsigned int  i) [static, private]
static std::string CFluxCalibrationMethod::badInt ( unsigned int  i) [static, private]
static std::string CFluxCalibrationMethod::badString ( const std::string &  name) [static, private]
static std::string CFluxCalibrationMethod::badString ( const std::string &  name) [static, private]
static FluxCalibrationMethodMod::FluxCalibrationMethod CFluxCalibrationMethod::from_int ( unsigned int  i) [static]

Return a FluxCalibrationMethod's enumerator given an unsigned int.

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

Return a FluxCalibrationMethod's enumerator given an unsigned int.

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

Return a FluxCalibrationMethod's enumerator given a string.

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

Return a FluxCalibrationMethod's enumerator given a string.

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

Returns an enumerator as a string.

Parameters:
ean enumerator of FluxCalibrationMethodMod::FluxCalibrationMethod.
Returns:
a string.
static std::string CFluxCalibrationMethod::name ( const FluxCalibrationMethodMod::FluxCalibrationMethod &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of FluxCalibrationMethodMod::FluxCalibrationMethod.
Returns:
a string.
static const std::vector<std::string> CFluxCalibrationMethod::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> CFluxCalibrationMethod::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 FluxCalibrationMethodMod::FluxCalibrationMethod CFluxCalibrationMethod::newFluxCalibrationMethod ( const std::string &  name) [static]

Create a FluxCalibrationMethod enumeration object by specifying its name.

static FluxCalibrationMethodMod::FluxCalibrationMethod CFluxCalibrationMethod::newFluxCalibrationMethod ( const std::string &  name) [static]

Create a FluxCalibrationMethod enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the revision as a string.

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

Return the number of enumerators declared in FluxCalibrationMethodMod::FluxCalibrationMethod.

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

Return the number of enumerators declared in FluxCalibrationMethodMod::FluxCalibrationMethod.

Returns:
an unsigned int.
static std::string CFluxCalibrationMethod::toString ( const FluxCalibrationMethodMod::FluxCalibrationMethod &  f) [inline, static]

Equivalent to the name method.

Definition at line 131 of file CFluxCalibrationMethod.h.

static std::string CFluxCalibrationMethod::toString ( const FluxCalibrationMethodMod::FluxCalibrationMethod &  f) [inline, static]

Equivalent to the name method.

Definition at line 131 of file CFluxCalibrationMethod.h.

static int CFluxCalibrationMethod::version ( ) [static]

Return the major version number as an int.

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

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CFluxCalibrationMethod::sABSOLUTE [static]

Enumerators as strings.

A const string equal to "ABSOLUTE".

Definition at line 92 of file CFluxCalibrationMethod.h.

static const std::string & CFluxCalibrationMethod::sEFFICIENCY [static]

A const string equal to "EFFICIENCY".

Definition at line 96 of file CFluxCalibrationMethod.h.

static const std::string & CFluxCalibrationMethod::sRELATIVE [static]

A const string equal to "RELATIVE".

Definition at line 94 of file CFluxCalibrationMethod.h.


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