dca_interface
6.3.4
|
#include <ipr_enums.h>
Definition of a container class for IprEnum objects.
Can be obtained from an IprCategoriesInfo object.
Use IprEnums in a similar manner to a std::container. The container can be easily iterated over using size() and operator [].
Definition at line 30 of file ipr_enums.h.
Public Member Functions | |
IprEnum | at (DCA_INDEX_TYPE index) const |
Returns the IprEnum with given index. More... | |
IprEnum | operator[] (DCA_INDEX_TYPE index) const |
Similar to at() but allows a more C++ style access. More... | |
DCA_SIZE_TYPE | size () const |
Returns the number of enums in the container. More... | |
IprEnum | byId (DCA_ENUM_ID_TYPE id) const |
Returns the IprEnum with the given id. More... | |
IprEnum dca_ipr::IprEnums::at | ( | DCA_INDEX_TYPE | index | ) | const |
Returns the IprEnum with given index.
[in] | index | The index of the enum. Range is from 0 to size() - 1 |
IprEnum dca_ipr::IprEnums::operator[] | ( | DCA_INDEX_TYPE | index | ) | const |
DCA_SIZE_TYPE dca_ipr::IprEnums::size | ( | ) | const |
Returns the number of enums in the container.
IprEnum dca_ipr::IprEnums::byId | ( | DCA_ENUM_ID_TYPE | id | ) | const |
Returns the IprEnum with the given id.
[in] | id | The id of the requested enum |