dca_interface  6.3.4
malware_enum.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_ENUM_H
7 #define MALWARE_ENUM_H
8 
14 namespace dca_malware {
15 
16  class malwareenum_p;
17 
26  class MalwareEnum {
27  public:
29  MalwareEnum();
30  MalwareEnum( const MalwareEnum& aEnum );
31  MalwareEnum& operator = ( const MalwareEnum& aEnum );
32  virtual ~MalwareEnum();
34 
41  bool operator == ( const MalwareEnum& aInst ) const;
42 
49  bool operator != ( const MalwareEnum& aInst ) const;
50 
56 
63  std::string name( const std::string& localeString = std::string() ) const;
64 
66  PRIVATE_PTR malwareenum_p *_p;
67  };
68 
76 }
77 
78 #endif
bool operator!=(const MalwareEnum &aInst) const
Inequality operator, returns true if two NullMalwareEnum objects refer to different internal enum ite...
DCA_ENUM_ID_TYPE id() const
Returns the internal id of the enumerable item.
MalwareEnum NullMalwareEnum
Defines a constant unassigned MalwareEnum you can use for checks. if( myMalwareEnum == NullMalwareEnu...
std::string name(const std::string &localeString=std::string()) const
Returns the localized (display) name of the enumerable item.
bool operator==(const MalwareEnum &aInst) const
Equality operator, returns true if two MalwareEnum objects refer to the identical item.
#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
The MalwareEnum class describes a single enumerable item (currebtly not used for malware)
Definition: malware_enum.h:26