dca_interface  6.3.4
malware_categories.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef MALWARE_CATEGORIES_H
7 #define MALWARE_CATEGORIES_H
8 
16 namespace dca_malware {
17 
26 
27  class malwarecategories_p;
28 
40  public:
43  MalwareCategories( const MalwareCategories& aCategories );
44  MalwareCategories& operator = ( const MalwareCategories& aCategories );
45  virtual ~MalwareCategories();
47 
54 
61 
67 
74 
76  PRIVATE_PTR malwarecategories_p *_p;
77  };
78 
79 }
80 
81 #endif
MalwareCategory byId(DCA_CATEGORY_ID_TYPE catid) const
Returns the category with the given category id.
MalwareCategory operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
The MalwareCategory class contains information for a single category.
MalwareCategory at(DCA_INDEX_TYPE index) const
Returns the MalwareCategory with given index.
const DCA_CATEGORY_ID_TYPE MALWARE_CATEGORY_MALWARE
Definition of the Malware Category "Malware".
int DCA_CATEGORY_ID_TYPE
Type for category ids.
Definition: base_types.h:31
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
Definition: base_types.h:66
const DCA_CATEGORY_ID_TYPE MALWARE_CATEGORY_ID_VENDOR_COVERAGE
Definition of the Malware Category "Vendor Coverage".
size_t DCA_SIZE_TYPE
Type for size (used for size of array and collections).
Definition: base_types.h:72
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
Definition of a container class for MalwareCategory objects.
DCA_SIZE_TYPE size() const
Returns the number of categories in the container.