dca_interface  6.3.4
ipr_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 IPR_CLASSIFICATION_H
7 #define IPR_CLASSIFICATION_H
8 
15 namespace dca_ipr {
16 
17  class IprCategoriesInfo;
18  class iprclassification_p;
19 
37 
46  };
47 
61  {
62  public:
65 
72  static IprClassification create( const dca::DcaInstance& aDca, const dca::License& aLicense );
73 
78 
81  IprClassification( const IprClassification& aClassification );
82  IprClassification& operator = ( const IprClassification& aClassification );
83  virtual ~IprClassification();
85 
98  const IprClassifierOptions& aIprClassifierOptions = IprClassifierOptions() ) const;
99 
107 
109  PRIVATE_PTR iprclassification_p *_p;
110  };
111 
112 }
113 
114 #endif
int DCA_MODULE_ID_TYPE
Type for module ids.
Definition: base_types.h:21
Defintion of the IprClassifier class.
static IprClassification create(const dca::DcaInstance &aDca, const dca::License &aLicense)
Initializes the IprClassification module.
Sets up options for the IPR classification.
static DCA_MODULE_ID_TYPE ID
The unique ID of the IPR classification module.
Container class for all IPR enumeration objects.
Database connection class for a local or remote database.
Definition: base_classes.h:859
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
Encapsulates the init and deinit of the DCA API.
Definition: base_classes.h:315
bool enable_Feedback
This switches the Feedback feature on or off. This feature collects statistics about number of matche...
dca::LogLevel setLogLevel(dca::LogLevel newLevel)
Changes the log level of the package and returns the previously used log level. Usually the logging l...
IprClassifier createClassifier(const dca::DbConnection &aDbConnection, const IprClassifierOptions &aIprClassifierOptions=IprClassifierOptions()) const
Creates a IprClassifier that is used to classify dca_ipr::Ip objects.
Definition of the IprClassification class.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
IprCategoriesInfo getCategoriesInfo() const
Retrieve the IprCategoriesInfo class.