|
dca_interface
6.3.4
|
#include <ipr_classification.h>
Definition of the IprClassification class.
Use the static create() function to create an instance of this class.
An IprClassification instance can be used to create a IprClassifier instance.
A IprCategoriesInfo class can be retrieved by using the getCategoriesInfo() function, which is used to enumerate all container objects.
Definition at line 60 of file ipr_classification.h.
Public Member Functions | |
| IprCategoriesInfo | getCategoriesInfo () const |
| Retrieve the IprCategoriesInfo class. | |
| IprClassifier | createClassifier (const dca::DbConnection &aDbConnection, const IprClassifierOptions &aIprClassifierOptions=IprClassifierOptions()) const |
| Creates a IprClassifier that is used to classify dca_ipr::Ip objects. More... | |
| dca::LogLevel | setLogLevel (dca::LogLevel newLevel) |
| Changes the log level of the package and returns the previously used log level. Usually the logging level is set to LOG_Notice. More... | |
Static Public Member Functions | |
| static IprClassification | create (const dca::DcaInstance &aDca, const dca::License &aLicense) |
| Initializes the IprClassification module. More... | |
Static Public Attributes | |
| static DCA_MODULE_ID_TYPE | ID |
| The unique ID of the IPR classification module. | |
|
static |
Initializes the IprClassification module.
| [in] | aDca | A previously initialized DcaInstance object |
| [in] | aLicense | An initialized License object |
| IprClassifier dca_ipr::IprClassification::createClassifier | ( | const dca::DbConnection & | aDbConnection, |
| const IprClassifierOptions & | aIprClassifierOptions = IprClassifierOptions() |
||
| ) | const |
Creates a IprClassifier that is used to classify dca_ipr::Ip objects.
| [in] | aDbConnection | An initialized database connection object |
| [in] | aIprClassifierOptions | Options to use, if not provided the default options will be used |
| ExDca | - One of the following error codes (available by using ExDca::getReturnCode() in your catch-handler) |
| dca::LogLevel dca_ipr::IprClassification::setLogLevel | ( | dca::LogLevel | newLevel | ) |
Changes the log level of the package and returns the previously used log level. Usually the logging level is set to LOG_Notice.
| [in] | newLevel | The new log level the class instance should use for logging |
1.8.18