Go to the documentation of this file.
6 #ifndef BASE_CATEGORIES_H
7 #define BASE_CATEGORIES_H
Category operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
DCA_SIZE_TYPE size() const
Returns the number of categories in the container.
Definition of a container class for Category objects.
Category byId(DCA_CATEGORY_ID_TYPE id) const
Returns the category with the given category id.
Category at(DCA_INDEX_TYPE index) const
Returns the Category with given index.
int DCA_CATEGORY_ID_TYPE
Type for category ids.
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
size_t DCA_SIZE_TYPE
Type for size (used for size of array and collections).
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Encapsulates a category as defined in the categories XML schema (see Categories XML: Categories).