dca_interface
6.3.4
|
#include <ipr_classifier.h>
Defintion of the IprClassifier class.
The classfier takes a dca_ipr::Ip object and performs a classification of the given IP address.
The result of the classification is stored in the IprClassificationResults object and the overall success is returned in the dca::FunctionResult (success or failure and details).
An IprClassifier can be obtained from an IprClassification instance.
Definition at line 33 of file ipr_classifier.h.
Public Member Functions | |
dca::FunctionResult | classify (const Ip &input, IprClassificationResults &result) const |
Classification function that takes the given input and returns the results (if any) in the provided result object. More... | |
dca::FunctionResult dca_ipr::IprClassifier::classify | ( | const Ip & | input, |
IprClassificationResults & | result | ||
) | const |
Classification function that takes the given input and returns the results (if any) in the provided result object.
[in] | input | An initialized IP input data object |
[out] | result | If classification was successful the result contains the matched categories |