dca_interface  6.3.4
wac_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 WAC_CLASSIFICATION_H
7 #define WAC_CLASSIFICATION_H
8 
15 namespace dca_wac {
16 
17  class WacCategoriesInfo;
18  class wacclassification_p;
19 
38 
46  };
47 
62  {
63  public:
66 
73  static WacClassification create( const dca::DcaInstance& aDca, const dca::License& aLicense );
74 
80 
83  WacClassification( const WacClassification& aClassification );
84  WacClassification& operator = ( const WacClassification& aClassification );
85  virtual ~WacClassification();
87 
100  const WacClassifierOptions& aWacClassifierOptions = WacClassifierOptions() ) const;
101 
109 
117 
119  PRIVATE_PTR wacclassification_p *_p;
120  };
121 
122 }
123 
124 #endif
int DCA_MODULE_ID_TYPE
Type for module ids.
Definition: base_types.h:21
bool enable_Feedback
This switches the Feedback feature on or off. This feature collects number of matched applications/ac...
bool wacDetailsAvailable(const dca::UrlClassificationResults &res) const
Returns whether or not a subsequent WAC classification may provide useful WAC information....
Database connection class for a local or remote database.
Definition: base_classes.h:859
WacCategoriesInfo getCategoriesInfo() const
Retrieve the WacCategoriesInfo class.
Defintion of the WacClassifier class.
Results of an URL classification.
LogLevel
This enum is used in all setLogLevel() functions to change the verbosity level of the classes.
Definition: base_classes.h:212
Defintion of the WacClassification class.
Use a License to initialize a classification package or a toolbox package.
Definition: base_classes.h:560
Container class for all WAC enumeration objects.
Encapsulates the init and deinit of the DCA API.
Definition: base_classes.h:315
WacClassifier createClassifier(const dca::DbConnection &aDbConnection, const WacClassifierOptions &aWacClassifierOptions=WacClassifierOptions()) const
Creates a WacClassifier that is used to classify WacInputData objects.
static WacClassification create(const dca::DcaInstance &aDca, const dca::License &aLicense)
Initializes the WacClassification module.
static DCA_MODULE_ID_TYPE ID
The unique ID of the WAC classification module.
dca::LogLevel setLogLevel(dca::LogLevel newLevel)
Changes the log level of the package and returns the previously used loglevel. Usually the logging le...
Sets up options for the WAC classification.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83