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

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

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

Static Public Attributes

static const std::string & sFILTER_NA
 Enumerators as strings.
static const std::string & sFILTER_TDM
static const std::string & sFILTER_TFB
static const std::string & sUNDEFINED

Private Member Functions

 CFilterMode ()
 CFilterMode (const CFilterMode &)
CFilterModeoperator= (const CFilterMode &)
 CFilterMode ()
 CFilterMode (const CFilterMode &)
CFilterModeoperator= (const CFilterMode &)

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

Definition at line 87 of file CFilterMode.h.


Constructor & Destructor Documentation

CFilterMode::CFilterMode ( ) [private]
CFilterMode::CFilterMode ( const CFilterMode ) [private]
CFilterMode::CFilterMode ( ) [private]
CFilterMode::CFilterMode ( const CFilterMode ) [private]

Member Function Documentation

static std::string CFilterMode::badInt ( unsigned int  i) [static, private]
static std::string CFilterMode::badInt ( unsigned int  i) [static, private]
static std::string CFilterMode::badString ( const std::string &  name) [static, private]
static std::string CFilterMode::badString ( const std::string &  name) [static, private]
static FilterModeMod::FilterMode CFilterMode::from_int ( unsigned int  i) [static]

Return a FilterMode's enumerator given an unsigned int.

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

Return a FilterMode's enumerator given an unsigned int.

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

Return a FilterMode's enumerator given a string.

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

Return a FilterMode's enumerator given a string.

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

Returns an enumerator as a string.

Parameters:
ean enumerator of FilterModeMod::FilterMode.
Returns:
a string.
static std::string CFilterMode::name ( const FilterModeMod::FilterMode &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of FilterModeMod::FilterMode.
Returns:
a string.
static const std::vector<std::string> CFilterMode::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> CFilterMode::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 FilterModeMod::FilterMode CFilterMode::newFilterMode ( const std::string &  name) [static]

Create a FilterMode enumeration object by specifying its name.

static FilterModeMod::FilterMode CFilterMode::newFilterMode ( const std::string &  name) [static]

Create a FilterMode enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the revision as a string.

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

Return the number of enumerators declared in FilterModeMod::FilterMode.

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

Return the number of enumerators declared in FilterModeMod::FilterMode.

Returns:
an unsigned int.
static std::string CFilterMode::toString ( const FilterModeMod::FilterMode &  f) [inline, static]

Equivalent to the name method.

Definition at line 135 of file CFilterMode.h.

static std::string CFilterMode::toString ( const FilterModeMod::FilterMode &  f) [inline, static]

Equivalent to the name method.

Definition at line 135 of file CFilterMode.h.

static int CFilterMode::version ( ) [static]

Return the major version number as an int.

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

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CFilterMode::sFILTER_NA [static]

Enumerators as strings.

A const string equal to "FILTER_NA".

Definition at line 94 of file CFilterMode.h.

static const std::string & CFilterMode::sFILTER_TDM [static]

A const string equal to "FILTER_TDM".

Definition at line 96 of file CFilterMode.h.

static const std::string & CFilterMode::sFILTER_TFB [static]

A const string equal to "FILTER_TFB".

Definition at line 98 of file CFilterMode.h.

static const std::string & CFilterMode::sUNDEFINED [static]

A const string equal to "UNDEFINED".

Definition at line 100 of file CFilterMode.h.


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