dca_interface
6.3.4
|
#include <wac_tags.h>
\ingroup wacclassification \brief Definition of a container class for WacTag objects. Can be obtained from a WacCategoriesInfo object Use %WacTags 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 wac_tags.h.
Public Member Functions | |
WacTag | at (DCA_INDEX_TYPE index) const |
Returns the WacTag with given index. More... | |
WacTag | 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 tags in the container. More... | |
WacTag | byId (DCA_TAG_ID_TYPE tagid) const |
Returns the tag with the given tag id. More... | |
WacTag dca_wac::WacTags::at | ( | DCA_INDEX_TYPE | index | ) | const |
Returns the WacTag with given index.
[in] | index | The index of the tag. Range is from 0 to size() - 1 |
WacTag dca_wac::WacTags::operator[] | ( | DCA_INDEX_TYPE | index | ) | const |
Similar to at() but allows a more C++ style access.
[in] | index | The index of the tag. Range is from 0 to size() - 1 |
DCA_SIZE_TYPE dca_wac::WacTags::size | ( | ) | const |
Returns the number of tags in the container.
WacTag dca_wac::WacTags::byId | ( | DCA_TAG_ID_TYPE | tagid | ) | const |
Returns the tag with the given tag id.
[in] | tagid | The id of the requested tag |