#include <EncodeOptions.h>
|
|
typedef std::vector< Item >::const_iterator | ItemConstIter |
| |
|
|
void | addItem (int id, const wchar_t *value, const wchar_t *description) |
| |
|
template<size_t N> |
| void | addItems (const StringEnum &base, const int(&itemsToKeep)[N]) |
| |
|
ItemConstIter | beginItems () const |
| |
|
ItemConstIter | endItems () const |
| |
|
const wchar_t * | getCValueById (int id) const |
| |
|
int | getIdByValue (const std::wstring &value) const |
| |
|
int | getIdByValue (const wchar_t *value) const |
| |
|
const std::wstring & | getValueById (int id) const |
| |
|
const std::wstring & | operator[] (int id) const |
| |
|
void | removeAllItems () |
| |
|
bool | removeItem (int id) |
| |
|
template<size_t N> |
| | StringEnum (const Item(&items)[N]) |
| |
|
template<size_t N> |
| | StringEnum (const PodItem(&items)[N]) |
| |
|
template<size_t N> |
| | StringEnum (const StringEnum &base, const int(&itemsToKeep)[N]) |
| |
Helper class to map enum items to string values.
The documentation for this class was generated from the following file: