dca_interface
6.3.4
|
#include <ipr_categories.h>
Definition of a container class for IprCategory objects.
Can be obtained from an IprCategoriesInfo object.
Use IprCategories in a similar manner to a std::container. The container can be easily iterated over using size() and operator [].
Definition at line 63 of file ipr_categories.h.
Public Member Functions | |
IprCategory | at (DCA_INDEX_TYPE index) const |
Returns the IprCategory with given index. More... | |
IprCategory | 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 categories in the container. More... | |
IprCategory | byId (DCA_CATEGORY_ID_TYPE catid) const |
Returns the category with the given category id. More... | |
IprCategory dca_ipr::IprCategories::at | ( | DCA_INDEX_TYPE | index | ) | const |
Returns the IprCategory with given index.
[in] | index | The index of the category. Range is from 0 to size() - 1 |
IprCategory dca_ipr::IprCategories::operator[] | ( | DCA_INDEX_TYPE | index | ) | const |
DCA_SIZE_TYPE dca_ipr::IprCategories::size | ( | ) | const |
Returns the number of categories in the container.
IprCategory dca_ipr::IprCategories::byId | ( | DCA_CATEGORY_ID_TYPE | catid | ) | const |
Returns the category with the given category id.
[in] | catid | The id of the requested category |