dca_interface
6.3.4
|
#include <ipr_enum.h>
The IprEnum class describes a single enumerable item, for example the Geo Location "Greenland".
To retrieve all the enumerations available use the IprCategoriesInfo class.
Definition at line 26 of file ipr_enum.h.
Public Member Functions | |
bool | operator== (const IprEnum &aInst) const |
Equality operator, returns true if two IprEnum objects refer to the identical item. More... | |
bool | operator!= (const IprEnum &aInst) const |
Inequality operator, returns true if two IprEnum objects refer to different internal enum items. More... | |
DCA_ENUM_ID_TYPE | id () const |
Returns the internal id of the enumerable item. More... | |
std::string | name (const std::string &localeString=std::string()) const |
Returns the localized (display) name of the enumerable item. More... | |
bool dca_ipr::IprEnum::operator== | ( | const IprEnum & | aInst | ) | const |
bool dca_ipr::IprEnum::operator!= | ( | const IprEnum & | aInst | ) | const |
Inequality operator, returns true if two IprEnum objects refer to different internal enum items.
[in] | aInst | Another instance to check for inequality with the current instance. |
DCA_ENUM_ID_TYPE dca_ipr::IprEnum::id | ( | ) | const |
Returns the internal id of the enumerable item.
std::string dca_ipr::IprEnum::name | ( | const std::string & | localeString = std::string() | ) | const |
Returns the localized (display) name of the enumerable item.
[in] | localeString | The name of the Locale to be used. Leave blank for using the default locale ("en_US") |