dca_interface  6.3.4
malware_classification.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_CLASSIFICTION_H
7 #define MALWARE_CLASSIFICTION_H
8 
29 namespace dca_malware {
30 
32  class malwaremodule_p;
34  class MalwareDbClassifier;
35 
36  class MalwareCategoriesInfo;
37 
43 
44  bool enable_Feedback;
45  };
46 
54  {
55  public:
58 
63 
80  static MalwareClassification create( const dca::DcaInstance& aDcaInstance, const dca::License& aLicense );
81 
84  MalwareClassification( const MalwareClassification& aMalwareClassification );
85  MalwareClassification& operator = ( const MalwareClassification& aMalwareClassification );
86  virtual ~MalwareClassification();
88 
102  const MalwareDbClassifierOptions& options = MalwareDbClassifierOptions() ) const;
103 
112 
113  protected:
115  PRIVATE_PTR malwaremodule_p *_p;
116  };
117 
118 }
119 
120 #endif
int DCA_MODULE_ID_TYPE
Type for module ids.
Definition: base_types.h:21
Main class for the Malware classification.
static MalwareClassification create(const dca::DcaInstance &aDcaInstance, const dca::License &aLicense)
Creates the Malware classification module by using the given DcaInstance and License.
Container class for all Malware enumeration objects.
Database connection class for a local or remote database.
Definition: base_classes.h:859
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
Use a License to initialize a classification package or a toolbox package.
Definition: base_classes.h:560
static DCA_MODULE_ID_TYPE ID
The unique ID of the Malware classification module.
Encapsulates the init and deinit of the DCA API.
Definition: base_classes.h:315
dca::LogLevel setLogLevel(dca::LogLevel newLevel)
Sets the logging level for the given class instance. The old value will be returned.
MalwareCategoriesInfo getCategoriesInfo() const
Retrieve the MalwareCategoriesInfo class.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
MalwareDbClassifier createDbClassifier(const dca::DbConnection &aDbConnection, const MalwareDbClassifierOptions &options=MalwareDbClassifierOptions()) const
Create a Malware database classifier. The classifier is created by using the provided database connec...