dca_interface  6.3.4
malware_enums.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 MALWARE_ENUMS_H
7 #define MALWARE_ENUMS_H
8 
16 namespace dca_malware {
17 
18  class malwareenums_p;
19 
30  class MalwareEnums {
31  public:
33  MalwareEnums();
34  MalwareEnums( const MalwareEnums& aEnums );
35  MalwareEnums& operator = ( const MalwareEnums& aEnums );
36  virtual ~MalwareEnums();
38 
44  MalwareEnum at( DCA_INDEX_TYPE index ) const;
45 
52 
58 
65 
67  PRIVATE_PTR malwareenums_p *_p;
68  };
69 
70 }
71 
72 #endif
MalwareEnum at(DCA_INDEX_TYPE index) const
Returns the MalwareEnum with given index.
MalwareEnum operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
Definition of a container class for MalwareEnum objects.
Definition: malware_enums.h:30
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
Definition: base_types.h:66
size_t DCA_SIZE_TYPE
Type for size (used for size of array and collections).
Definition: base_types.h:72
DCA_SIZE_TYPE size() const
Returns the number of enums in the container.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
int DCA_ENUM_ID_TYPE
Id type for MalwareEnum class.
Definition: malware_base.h:21
MalwareEnum byId(DCA_ENUM_ID_TYPE id) const
Returns the MalwareEnums with the given id.
The MalwareEnum class describes a single enumerable item (currebtly not used for malware)
Definition: malware_enum.h:26