dca_interface  6.3.4
malwaredb_classifier.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 MALWAREDB_CLASSIFIER_H
7 #define MALWAREDB_CLASSIFIER_H
8 
15 namespace dca_malware {
16 
17  class malwaredbclassifier_p;
18 
19  class MalwareClassificationResults;
20  class Hash;
21 
40  {
41  public:
45  MalwareDbClassifier& operator = ( const MalwareDbClassifier& rhi );
46  virtual ~MalwareDbClassifier();
48 
59  dca::FunctionResult classify( const Hash& aHash, MalwareClassificationResults& malwareResults ) const;
60 
69 
71  PRIVATE_PTR malwaredbclassifier_p *_p;
72  };
73 
74 }
75 
76 #endif
Definition of the Hash class.
dca::LogLevel setLogLevel(dca::LogLevel newLevel)
Sets the logging level for the given class instance. The old value will be returned.
Malware database classifier class.
LogLevel
This enum is used in all setLogLevel() functions to change the verbosity level of the classes.
Definition: base_classes.h:212
Results of a Malware classification.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
Standard function result.
Definition: base_classes.h:148
dca::FunctionResult classify(const Hash &aHash, MalwareClassificationResults &malwareResults) const
Performs the Malware classification and returns the results.