dca_ipr::IprClassifier Class Reference
[IP Reputation]

#include <ipr_classifier.h>

List of all members.


Detailed Description

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.

See also:
IprClassification, Ip, IprClassificationResult

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.

Member Function Documentation

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.

Parameters:
[in] input An initialized IP input data object
[out] result If classification was successful the result contains the matched categories
Returns:
DCA_SUCCESS or one of the following error codes
See also:
IprClassification, Ip, Ipv4, Ipv6, IprClassificationResult, dca::FunctionResult

The documentation for this class was generated from the following file:

Generated on 26 Sep 2016 for dca_interface by  doxygen 1.6.1