dca_interface  6.3.4
base_versioninfo.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 
12 #ifndef BASE_VERSIONINFO_H
13 #define BASE_VERSIONINFO_H
14 
15 #include <string>
16 
17 namespace dca {
18 
20  class vi_result_detail_p;
21 
32  public:
36  VersionInfoResultDetail& operator = ( const VersionInfoResultDetail& rhi );
37  virtual ~VersionInfoResultDetail();
39 
44  std::string component() const;
57  std::string version() const;
58 
60  PRIVATE_PTR vi_result_detail_p *_p;
61  };
62 
64  class vi_result_p;
65 
76  public:
80  VersionInfoResult& operator = ( const VersionInfoResult& rhi );
81  virtual ~VersionInfoResult();
83 
90 
101 
114 
121 
126  std::string name() const;
127 
129  PRIVATE_PTR vi_result_p *_p;
130  };
131 
133  class vi_results_p;
134 
146  public:
150  VersionInfoResults& operator = ( const VersionInfoResults& rhi );
151  virtual ~VersionInfoResults();
153 
163 
175 
182 
184  PRIVATE_PTR vi_results_p *_p;
185  };
186 }
187 
188 #endif
int DCA_MODULE_ID_TYPE
Type for module ids.
Definition: base_types.h:21
VersionInfoResultDetail at(DCA_INDEX_TYPE index) const
Returns the VersionInfoResultDetail with given index.
VersionInfoResult 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 VersionInfoResultDetail objects in the container.
VersionInfoResult at(DCA_INDEX_TYPE index) const
Returns the VersionInfoResult with given index.
VersionInfoResultDetail operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
DCA_MODULE_ID_TYPE id() const
std::string version() const
Class that contains all version information of all initialized DCA modules.
Class that contains all details of type dca::VersionInfoResult object.
std::string name() const
Returns the name.
Class that contains all details of a dca::VersionInfoResult object.
DCA_SIZE_TYPE size() const
Returns the number of VersionInfoResult objects in the container.
size_t DCA_INDEX_TYPE
Type for index access (used for arrays and collections).
Definition: base_types.h:66
std::string component() const
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