dca_interface
6.3.4
|
#include <urldb_classifier.h>
URL database classifier class.
The classify function takes a given URL object and returns the database classification result.
This can be either
Definition at line 39 of file urldb_classifier.h.
Public Member Functions | |
FunctionResult | classify (const Url &aUrl, UrlClassificationResults &urlResults) const |
Performs the URL classification and returns the results. More... | |
LogLevel | setLogLevel (LogLevel newLevel) |
Sets the logging level for the given class instance. The old value will be returned. More... | |
FunctionResult dca::UrlDbClassifier::classify | ( | const Url & | aUrl, |
UrlClassificationResults & | urlResults | ||
) | const |
Performs the URL classification and returns the results.
[in] | aUrl | A URL object created by using Url::create() |
[out] | urlResults | The classification results, containing all matched categories (if any) |
Sets the logging level for the given class instance. The old value will be returned.
Usually the logging level is set to LOG_Notice.
[in] | newLevel | The new LogLevel the class instance should use for logging |