dca_interface  6.3.4
wac_tags.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_TAGS_H
7 #define WAC_TAGS_H
8 
16 namespace dca_wac {
17 
18  class wactags_p;
19 
30  class WacTags {
31  public:
33  WacTags();
34  WacTags( const WacTags& aTags );
35  WacTags& operator = ( const WacTags& aTags );
36  virtual ~WacTags();
38 
45  WacTag at( DCA_INDEX_TYPE index ) const;
46 
54 
60 
66  WacTag byId( DCA_TAG_ID_TYPE tagid ) const;
67 
69  PRIVATE_PTR wactags_p *_p;
70  };
71 
72 }
73 
74 #endif
WacTag at(DCA_INDEX_TYPE index) const
Returns the WacTag with given index.
Definition: wac_tags.h:30
int DCA_TAG_ID_TYPE
Type for tag ids.
Definition: base_types.h:54
WacTag byId(DCA_TAG_ID_TYPE tagid) const
Returns the tag with the given tag id.
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
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
DCA_SIZE_TYPE size() const
Returns the number of tags in the container.
WacTag operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
The WacTag class represents a given tag that is associated with an application e.g....
Definition: wac_tag.h:29