Go to the documentation of this file.
6 #ifndef MALWARE_CATEGORY_H
7 #define MALWARE_CATEGORY_H
14 namespace dca_malware {
16 class malwarecategory_p;
63 std::string
name(
const std::string& localeString = std::string() )
const;
The MalwareCategory class contains information for a single category.
DCA_CATEGORY_ID_TYPE id() const
Returns the internal id of a MalwareCategory class.
DCA_ENUM_ID_TYPE enumId(DCA_INDEX_TYPE index) const
Returns the id of an enum item associated with the current MalwareCategory.
std::string name(const std::string &localeString=std::string()) const
Returns the localized (display) name of the category.
DCA_ENUM_ID_TYPE enumByValue(int value) const
Returns the id of an enum item associated with the current MalwareCategory.
bool operator!=(const MalwareCategory &aInst) const
Inequality operator, returns true if two MalwareCategory objects refer to different internal categori...
bool operator==(const MalwareCategory &aInst) const
Equality operator, returns true if two MalwareCategory objects refer to the identical internal catego...
int DCA_CATEGORY_ID_TYPE
Type for category ids.
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
MalwareCategory NullMalwareCategory
Defines a constant unassigned MalwareCategory you can use for checks. if( myMalwareCategory == NullMa...
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.
int DCA_ENUM_ID_TYPE
Id type for MalwareEnum class.
DCA_SIZE_TYPE enumsSize() const
Returns the count of MalwareEnum items associated with current MalwareCategory.