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

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

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

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

Definition at line 87 of file CACAPolarization.h.

Constructor & Destructor Documentation

CACAPolarization::CACAPolarization ( )
private
CACAPolarization::CACAPolarization ( const CACAPolarization )
private

Member Function Documentation

static std::string CACAPolarization::badInt ( unsigned int  i)
staticprivate
static std::string CACAPolarization::badString ( const std::string &  name)
staticprivate
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 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 ACAPolarizationMod::ACAPolarization CACAPolarization::newACAPolarization ( const std::string &  name)
static

Create a ACAPolarization enumeration object by specifying its name.

CACAPolarization& CACAPolarization::operator= ( const CACAPolarization )
private
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 std::string CACAPolarization::toString ( const ACAPolarizationMod::ACAPolarization &  f)
inlinestatic

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.

Member Data Documentation

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.

const std::string& CACAPolarization::sACA_XX_50
static

A const string equal to "ACA_XX_50".

Definition at line 98 of file CACAPolarization.h.

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.

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 file: