dca_interface  6.3.4
malware_classification_results.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_CLASSIFICATION_RESULTS_H
7 #define MALWARE_CLASSIFICATION_RESULTS_H
8 
15 namespace dca_malware {
16 
17  class malwareclassification_results_p;
18 
26  {
27  public:
34 
60 
62  bool isUnknownMalware() const;
64  bool isCategorized() const;
65 
67  PRIVATE_PTR malwareclassification_results_p *_p;
68  };
69 
70 }
71 
72 #endif
The result item of a Malware classification.
DCA_SIZE_TYPE size() const
Returns the number of results in the container.
Results of a Malware classification.
MalwareClassificationResult at(DCA_INDEX_TYPE index) const
Returns one result of the matched results (if any) with the given index.
bool isCategorized() const
Returns whether or not the Malware matched one or more categories.
MalwareClassificationResult operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
Definition: base_types.h:66
size_t DCA_SIZE_TYPE
Type for size (used for size of array and collections).
Definition: base_types.h:72
bool isUnknownMalware() const
Returns whether a Malware is known or unknown. A Malware is unknown if it is not contained in the dat...
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83