dca_interface
6.3.4
|
#include <malware_enums.h>
Definition of a container class for MalwareEnum objects.
Can be obtained from an MalwareCategoriesInfo object.
Use MalwareEnums 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 malware_enums.h.
Public Member Functions | |
MalwareEnum | at (DCA_INDEX_TYPE index) const |
Returns the MalwareEnum with given index. More... | |
MalwareEnum | 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... | |
MalwareEnum | byId (DCA_ENUM_ID_TYPE id) const |
Returns the MalwareEnums with the given id. More... | |
MalwareEnum dca_malware::MalwareEnums::at | ( | DCA_INDEX_TYPE | index | ) | const |
Returns the MalwareEnum with given index.
[in] | index | The index of the enum. Range is from 0 to size() - 1 |
MalwareEnum dca_malware::MalwareEnums::operator[] | ( | DCA_INDEX_TYPE | index | ) | const |
DCA_SIZE_TYPE dca_malware::MalwareEnums::size | ( | ) | const |
Returns the number of enums in the container.
MalwareEnum dca_malware::MalwareEnums::byId | ( | DCA_ENUM_ID_TYPE | id | ) | const |
Returns the MalwareEnums with the given id.
[in] | id | The id of the requested enum |