Teamcenter C++ API Reference  2312
C2Capa.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 //e
7 //==================================================
8 //Copyright 2022 Siemens Digital Industries Software
9 
10 /*==================================================================================================
11 File description:
12  This file contains the declaration for the Business Object, C2Capa
13  Filename: C2Capa.hxx
14  Module: CPA0capadatamodel
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef CAPADATAMODEL__C2CAPA__HXX
19 #define CAPADATAMODEL__C2CAPA__HXX
20 
21 #include <common/tc_deprecation_macros.h>
22 #include <cm/ProblemReport.hxx>
23 
24 #include <CPA0capadatamodel/libcpa0capadatamodel_exports.h>
25 
26 namespace capadatamodel
27 {
28  class C2Capa;
29 }
30 namespace capadatamodel
31 {
32  class C2CapaImpl;
33 }
34 namespace capadatamodel
35 {
36  class C2CapaDelegate;
37 }
38 namespace capadatamodel
39 {
40  class C2CapaDispatch;
41 }
42 namespace capadatamodel
43 {
44  class C2CapaGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class CPA0CAPADATAMODEL_API capadatamodel::C2Capa
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 protected:
63  // Method to initialize
64  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
65 
69  C2Capa();
70 
74  virtual ~C2Capa();
75 
76 private:
77  // Getter method for the Implementation Object
78  C2CapaImpl* getC2CapaImpl() const;
79  // Setter method for the Implementation Object
80  ::Teamcenter::RootObjectImpl* setC2CapaImpl( ::Teamcenter::RootObjectImpl* impl );
81 
82  // Method to set the delete impl boolean
83  void setDeleteImpl( bool del );
84 
85  // Pointer to the Implementation object
86  C2CapaImpl* m_c2capaImpl;
87 
88  // Flag to indicate if Implementation object needs to be deleted
90 
94  static std::string name;
95 
100  C2Capa( const C2Capa& );
101  C2Capa& operator=( const C2Capa& );
102 
103  friend class C2CapaDelegate;
104  friend class C2CapaGenImpl;
105 };
106 
107 #include <CPA0capadatamodel/libcpa0capadatamodel_undef.h>
108 #endif // CAPADATAMODEL__C2CAPA__HXX