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

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

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

Static Public Attributes

static const std::string & sCROSS_ONLY
 Enumerators as strings.
static const std::string & sAUTO_ONLY
static const std::string & sCROSS_AND_AUTO

Private Member Functions

 CCorrelationMode ()
 CCorrelationMode (const CCorrelationMode &)
CCorrelationModeoperator= (const CCorrelationMode &)
 CCorrelationMode ()
 CCorrelationMode (const CCorrelationMode &)
CCorrelationModeoperator= (const CCorrelationMode &)

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

Definition at line 85 of file CCorrelationMode.h.


Constructor & Destructor Documentation


Member Function Documentation

static std::string CCorrelationMode::badInt ( unsigned int  i) [static, private]
static std::string CCorrelationMode::badInt ( unsigned int  i) [static, private]
static std::string CCorrelationMode::badString ( const std::string &  name) [static, private]
static std::string CCorrelationMode::badString ( const std::string &  name) [static, private]
static CorrelationModeMod::CorrelationMode CCorrelationMode::from_int ( unsigned int  i) [static]

Return a CorrelationMode's enumerator given an unsigned int.

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

Return a CorrelationMode's enumerator given an unsigned int.

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

Return a CorrelationMode's enumerator given a string.

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

Return a CorrelationMode's enumerator given a string.

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

Returns an enumerator as a string.

Parameters:
ean enumerator of CorrelationModeMod::CorrelationMode.
Returns:
a string.
static std::string CCorrelationMode::name ( const CorrelationModeMod::CorrelationMode &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of CorrelationModeMod::CorrelationMode.
Returns:
a string.
static const std::vector<std::string> CCorrelationMode::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> CCorrelationMode::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 CorrelationModeMod::CorrelationMode CCorrelationMode::newCorrelationMode ( const std::string &  name) [static]

Create a CorrelationMode enumeration object by specifying its name.

static CorrelationModeMod::CorrelationMode CCorrelationMode::newCorrelationMode ( const std::string &  name) [static]

Create a CorrelationMode enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the revision as a string.

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

Return the number of enumerators declared in CorrelationModeMod::CorrelationMode.

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

Return the number of enumerators declared in CorrelationModeMod::CorrelationMode.

Returns:
an unsigned int.
static std::string CCorrelationMode::toString ( const CorrelationModeMod::CorrelationMode &  f) [inline, static]

Equivalent to the name method.

Definition at line 131 of file CCorrelationMode.h.

static std::string CCorrelationMode::toString ( const CorrelationModeMod::CorrelationMode &  f) [inline, static]

Equivalent to the name method.

Definition at line 131 of file CCorrelationMode.h.

static int CCorrelationMode::version ( ) [static]

Return the major version number as an int.

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

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CCorrelationMode::sAUTO_ONLY [static]

A const string equal to "AUTO_ONLY".

Definition at line 94 of file CCorrelationMode.h.

static const std::string & CCorrelationMode::sCROSS_AND_AUTO [static]

A const string equal to "CROSS_AND_AUTO".

Definition at line 96 of file CCorrelationMode.h.

static const std::string & CCorrelationMode::sCROSS_ONLY [static]

Enumerators as strings.

A const string equal to "CROSS_ONLY".

Definition at line 92 of file CCorrelationMode.h.


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