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