Teamcenter C++ API Reference  2312
ParmGrpValRevision.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright $2023.
4 //Siemens Product Lifecycle Management Software Inc.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
9 /*==================================================================================================
10 File description:
11  This file contains the declaration for the Business Object, ParmGrpValRevision
12  Filename: ParmGrpValRevision.hxx
13  Module: ccdm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CCDM__PARMGRPVALREVISION__HXX
18 #define CCDM__PARMGRPVALREVISION__HXX
19 
20 #include <unidefs.h>
21 #include <vector>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/ItemRevision.hxx>
24 
25 #include <ccdm/libccdm_exports.h>
26 
27 namespace ccdm
28 {
29  class ParmGrpValRevision;
30 }
31 namespace ccdm
32 {
33  class ParmGrpValRevisionImpl;
34 }
35 namespace ccdm
36 {
37  class ParmGrpValRevisionDelegate;
38 }
39 namespace ccdm
40 {
41  class ParmGrpValRevisionDispatch;
42 }
43 namespace ccdm
44 {
45  class ParmGrpValRevisionGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class CCDM_API ccdm::ParmGrpValRevision
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getMasterDefRev( tag_t &value, bool &isNull ) const;
72 
80  int getParmValues( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
81 
89  int setMasterDefRev( const tag_t &value, bool isNull=false );
90 
98  int setParmValues( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
99 protected:
100  // Method to initialize
101  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
102 
107 
111  virtual ~ParmGrpValRevision();
112 
113 private:
114  // Getter method for the Implementation Object
115  ParmGrpValRevisionImpl* getParmGrpValRevisionImpl() const;
116  // Setter method for the Implementation Object
117  ::Teamcenter::RootObjectImpl* setParmGrpValRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
118 
119  // Method to set the delete impl boolean
120  void setDeleteImpl( bool del );
121 
122  // Pointer to the Implementation object
123  ParmGrpValRevisionImpl* m_parmgrpvalrevisionImpl;
124 
125  // Flag to indicate if Implementation object needs to be deleted
127 
131  static std::string name;
132 
139 
140  friend class ParmGrpValRevisionDelegate;
141  friend class ParmGrpValRevisionGenImpl;
142 };
143 
144 #include <ccdm/libccdm_undef.h>
145 #endif // CCDM__PARMGRPVALREVISION__HXX