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

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

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

Static Public Attributes

static const std::string & sACA_STANDARD
 Enumerators as strings.
static const std::string & sACA_XX_YY_SUM
static const std::string & sACA_XX_50
static const std::string & sACA_YY_50

Private Member Functions

 CACAPolarization ()
 CACAPolarization (const CACAPolarization &)
CACAPolarizationoperator= (const CACAPolarization &)
 CACAPolarization ()
 CACAPolarization (const CACAPolarization &)
CACAPolarizationoperator= (const CACAPolarization &)

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

Definition at line 87 of file CACAPolarization.h.


Constructor & Destructor Documentation


Member Function Documentation

static std::string CACAPolarization::badInt ( unsigned int  i) [static, private]
static std::string CACAPolarization::badInt ( unsigned int  i) [static, private]
static std::string CACAPolarization::badString ( const std::string &  name) [static, private]
static std::string CACAPolarization::badString ( const std::string &  name) [static, private]
static ACAPolarizationMod::ACAPolarization CACAPolarization::from_int ( unsigned int  i) [static]

Return a ACAPolarization's enumerator given an unsigned int.

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

Return a ACAPolarization's enumerator given an unsigned int.

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

Return a ACAPolarization's enumerator given a string.

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

Return a ACAPolarization's enumerator given a string.

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

Returns an enumerator as a string.

Parameters:
ean enumerator of ACAPolarizationMod::ACAPolarization.
Returns:
a string.
static std::string CACAPolarization::name ( const ACAPolarizationMod::ACAPolarization &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of ACAPolarizationMod::ACAPolarization.
Returns:
a string.
static const std::vector<std::string> CACAPolarization::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> CACAPolarization::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 ACAPolarizationMod::ACAPolarization CACAPolarization::newACAPolarization ( const std::string &  name) [static]

Create a ACAPolarization enumeration object by specifying its name.

static ACAPolarizationMod::ACAPolarization CACAPolarization::newACAPolarization ( const std::string &  name) [static]

Create a ACAPolarization enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the revision as a string.

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

Return the number of enumerators declared in ACAPolarizationMod::ACAPolarization.

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

Return the number of enumerators declared in ACAPolarizationMod::ACAPolarization.

Returns:
an unsigned int.
static std::string CACAPolarization::toString ( const ACAPolarizationMod::ACAPolarization &  f) [inline, static]

Equivalent to the name method.

Definition at line 135 of file CACAPolarization.h.

static std::string CACAPolarization::toString ( const ACAPolarizationMod::ACAPolarization &  f) [inline, static]

Equivalent to the name method.

Definition at line 135 of file CACAPolarization.h.

static int CACAPolarization::version ( ) [static]

Return the major version number as an int.

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

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CACAPolarization::sACA_STANDARD [static]

Enumerators as strings.

A const string equal to "ACA_STANDARD".

Definition at line 94 of file CACAPolarization.h.

static const std::string & CACAPolarization::sACA_XX_50 [static]

A const string equal to "ACA_XX_50".

Definition at line 98 of file CACAPolarization.h.

static const std::string & CACAPolarization::sACA_XX_YY_SUM [static]

A const string equal to "ACA_XX_YY_SUM".

Definition at line 96 of file CACAPolarization.h.

static const std::string & CACAPolarization::sACA_YY_50 [static]

A const string equal to "ACA_YY_50".

Definition at line 100 of file CACAPolarization.h.


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