Teamcenter C++ API Reference  2312
CPPropertyRevision.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //
4 //Copyright $2023.
5 //Siemens Product Lifecycle Management Software Inc.
6 //All Rights Reserved.
7 //==================================================
8 //Copyright 2022 Siemens Digital Industries Software
9 
10 /*==================================================================================================
11 File description:
12  This file contains the declaration for the Business Object, CPPropertyRevision
13  Filename: CPPropertyRevision.hxx
14  Module: specmgr
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef TEAMCENTER__SPECMGR__CPPROPERTYREVISION__HXX
19 #define TEAMCENTER__SPECMGR__CPPROPERTYREVISION__HXX
20 
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/ItemRevision.hxx>
24 
25 #include <specmgr/libspecmgr_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace SPECMGR
30  {
31  class CPPropertyRevision;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace SPECMGR
37  {
38  class CPPropertyRevisionImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace SPECMGR
44  {
45  class CPPropertyRevisionDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace SPECMGR
51  {
52  class CPPropertyRevisionDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace SPECMGR
58  {
59  class CPPropertyRevisionGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class SPECMGR_API Teamcenter::SPECMGR::CPPropertyRevision
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getParent_property_group( tag_t &value, bool &isNull ) const;
87 
95  int getSequence_number( int &value, bool &isNull ) const;
96 
104  int setParent_property_group( const tag_t &value, bool isNull=false );
105 
113  int setSequence_number( int value, bool isNull=false );
114 protected:
115  // Method to initialize
116  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
117 
122 
126  virtual ~CPPropertyRevision();
127 
128 private:
129  // Getter method for the Implementation Object
130  CPPropertyRevisionImpl* getCPPropertyRevisionImpl() const;
131  // Setter method for the Implementation Object
132  ::Teamcenter::RootObjectImpl* setCPPropertyRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
133 
134  // Method to set the delete impl boolean
135  void setDeleteImpl( bool del );
136 
137  // Pointer to the Implementation object
138  CPPropertyRevisionImpl* m_cppropertyrevisionImpl;
139 
140  // Flag to indicate if Implementation object needs to be deleted
142 
146  static std::string name;
147 
154 
155  friend class CPPropertyRevisionDelegate;
156  friend class CPPropertyRevisionGenImpl;
157 };
158 
159 #include <specmgr/libspecmgr_undef.h>
160 #endif // TEAMCENTER__SPECMGR__CPPROPERTYREVISION__HXX