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

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

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

Static Public Attributes

static const std::string & sHOLOGRAPHY
 Enumerators as strings. More...
 
static const std::string & sINTERFEROMETRY
 
static const std::string & sOPTICAL
 
static const std::string & sRADIOMETRY
 
static const std::string & sWVR
 

Private Member Functions

 CCalibrationMode ()
 
 CCalibrationMode (const CCalibrationMode &)
 
CCalibrationModeoperator= (const CCalibrationMode &)
 

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

Definition at line 89 of file CCalibrationMode.h.

Constructor & Destructor Documentation

CCalibrationMode::CCalibrationMode ( )
private
CCalibrationMode::CCalibrationMode ( const CCalibrationMode )
private

Member Function Documentation

static std::string CCalibrationMode::badInt ( unsigned int  i)
staticprivate
static std::string CCalibrationMode::badString ( const std::string &  name)
staticprivate
static CalibrationModeMod::CalibrationMode CCalibrationMode::from_int ( unsigned int  i)
static

Return a CalibrationMode's enumerator given an unsigned int.

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

Return a CalibrationMode's enumerator given a string.

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

Returns an enumerator as a string.

Parameters
ean enumerator of CalibrationModeMod::CalibrationMode.
Returns
a string.
static const std::vector<std::string> CCalibrationMode::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 CalibrationModeMod::CalibrationMode CCalibrationMode::newCalibrationMode ( const std::string &  name)
static

Create a CalibrationMode enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the number of enumerators declared in CalibrationModeMod::CalibrationMode.

Returns
an unsigned int.
static std::string CCalibrationMode::toString ( const CalibrationModeMod::CalibrationMode &  f)
inlinestatic

Equivalent to the name method.

Definition at line 139 of file CCalibrationMode.h.

static int CCalibrationMode::version ( )
static

Return the major version number as an int.

Returns
an int.

Member Data Documentation

const std::string& CCalibrationMode::sHOLOGRAPHY
static

Enumerators as strings.

A const string equal to "HOLOGRAPHY".

Definition at line 96 of file CCalibrationMode.h.

const std::string& CCalibrationMode::sINTERFEROMETRY
static

A const string equal to "INTERFEROMETRY".

Definition at line 98 of file CCalibrationMode.h.

const std::string& CCalibrationMode::sOPTICAL
static

A const string equal to "OPTICAL".

Definition at line 100 of file CCalibrationMode.h.

const std::string& CCalibrationMode::sRADIOMETRY
static

A const string equal to "RADIOMETRY".

Definition at line 102 of file CCalibrationMode.h.

const std::string& CCalibrationMode::sWVR
static

A const string equal to "WVR".

Definition at line 104 of file CCalibrationMode.h.


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