Go to the documentation of this file.
6 #ifndef IPR_CATEGORIES_H
7 #define IPR_CATEGORIES_H
51 class iprcategories_p;
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_MALWARE
Definition of the IPR Category Malware.
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_GEOLOCATION
Definition of the IPR Category Geo Location.
IprCategory operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
DCA_SIZE_TYPE size() const
Returns the number of categories in the container.
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_DIALIN
Definition of the IPR Category Dial in.
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_WEBSERVER
Definition of the IPR Category Webserver.
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_ANONYMOUS_PROXIES
Definition of the IPR Category Anonymous Proxies.
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_SUSPICIOUS
Definition of the IPR Category Suspicious.
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_BOTNET_CLIENTS
Definition of the IPR Category Botnet Clients.
int DCA_CATEGORY_ID_TYPE
Type for category ids.
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
IprCategory byId(DCA_CATEGORY_ID_TYPE catid) const
Returns the category with the given category id.
size_t DCA_SIZE_TYPE
Type for size (used for size of array and collections).
const DCA_CATEGORY_ID_TYPE IPR_CATEGORY_ID_SPAM
Definition of the IPR Category Spam.
Definition of a container class for IprCategory objects.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
IprCategory at(DCA_INDEX_TYPE index) const
Returns the IprCategory with given index.
The IprCategory class contains information for a single category. An IP address can be assigned to on...