dca_interface  6.3.4
wac_tag.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 WAC_TAG_H
7 #define WAC_TAG_H
8 
14 namespace dca_wac {
15 
16  class wactag_p;
17 
29  class WacTag {
30  public:
32  WacTag();
33  WacTag( const WacTag& aTag );
34  WacTag& operator = ( const WacTag& aTag );
35  virtual ~WacTag();
37 
44  bool operator == ( const WacTag& aInst ) const;
45 
52  bool operator != ( const WacTag& aInst ) const;
53 
59 
66  std::string name( const std::string& localeString = std::string() ) const;
67 
74  std::string description( const std::string& localeString = std::string() ) const;
75 
77  PRIVATE_PTR wactag_p *_p;
78  };
79 
86  extern WacTag NullWacTag;
87 }
88 
89 #endif
bool operator==(const WacTag &aInst) const
Equality operator, returns true if two WacTag objects refer to the identical internal tag.
std::string name(const std::string &localeString=std::string()) const
Returns the localized (display) name of the tag.
int DCA_TAG_ID_TYPE
Type for tag ids.
Definition: base_types.h:54
std::string description(const std::string &localeString=std::string()) const
Returns the localized (brief) description of the tag.
bool operator!=(const WacTag &aInst) const
Inequality operator, returns true if two WacTag objects refer to two different internal tags.
DCA_TAG_ID_TYPE id() const
Returns the internal id of a WacTag class.
WacTag NullWacTag
Defines a constant unassigned WacTag you can use for checks. if( myWacTag == NullWacTag ) --> WacTag ...
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
The WacTag class represents a given tag that is associated with an application e.g....
Definition: wac_tag.h:29