Teamcenter C++ API Reference  2312
C2Preventive.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, C2Preventive
13  Filename: C2Preventive.hxx
14  Module: CPA0capadatamodel
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef CPA0CAPADATAMODEL__C2PREVENTIVE__HXX
19 #define CPA0CAPADATAMODEL__C2PREVENTIVE__HXX
20 
21 #include <common/tc_deprecation_macros.h>
22 #include <schmgt/Schedule.hxx>
23 
24 #include <CPA0capadatamodel/libcpa0capadatamodel_exports.h>
25 
26 namespace cpa0capadatamodel
27 {
28  class C2Preventive;
29 }
30 namespace cpa0capadatamodel
31 {
32  class C2PreventiveImpl;
33 }
34 namespace cpa0capadatamodel
35 {
36  class C2PreventiveDelegate;
37 }
38 namespace cpa0capadatamodel
39 {
40  class C2PreventiveDispatch;
41 }
42 namespace cpa0capadatamodel
43 {
44  class C2PreventiveGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class CPA0CAPADATAMODEL_API cpa0capadatamodel::C2Preventive
52  : public ::Teamcenter::Schedule
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  C2Preventive();
70 
74  virtual ~C2Preventive();
75 
76 private:
77  // Getter method for the Implementation Object
78  C2PreventiveImpl* getC2PreventiveImpl() const;
79  // Setter method for the Implementation Object
80  ::Teamcenter::RootObjectImpl* setC2PreventiveImpl( ::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  C2PreventiveImpl* m_c2preventiveImpl;
87 
88  // Flag to indicate if Implementation object needs to be deleted
90 
94  static std::string name;
95 
100  C2Preventive( const C2Preventive& );
102 
103  friend class C2PreventiveDelegate;
104  friend class C2PreventiveGenImpl;
105 };
106 
107 #include <CPA0capadatamodel/libcpa0capadatamodel_undef.h>
108 #endif // CPA0CAPADATAMODEL__C2PREVENTIVE__HXX