dca_interface  6.3.4
ipr_categories.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef IPR_CATEGORIES_H
7 #define IPR_CATEGORIES_H
8 
16 namespace dca_ipr {
17 
50 
51  class iprcategories_p;
52 
63  class IprCategories {
64  public:
66  IprCategories();
67  IprCategories( const IprCategories& aCategories );
68  IprCategories& operator = ( const IprCategories& aCategories );
69  virtual ~IprCategories();
71 
77  IprCategory at( DCA_INDEX_TYPE index ) const;
78 
85 
91 
98 
100  PRIVATE_PTR iprcategories_p *_p;
101  };
102 
103 }
104 
105 #endif
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.
Definition: base_types.h:31
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
Definition: base_types.h:66
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).
Definition: base_types.h:72
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.
Definition: base_types.h:83
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...
Definition: ipr_category.h:27