Teamcenter C++ API Reference  2312
Mat1UsesSubstance.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, Mat1UsesSubstance
12  Filename: Mat1UsesSubstance.hxx
13  Module: mat1materialmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef MATERIALMGMT__MAT1USESSUBSTANCE__HXX
18 #define MATERIALMGMT__MAT1USESSUBSTANCE__HXX
19 
20 #include <common/tc_deprecation_macros.h>
21 #include <tccore/ImanRelation.hxx>
22 
23 #include <mat1materialmgmt/libmat1materialmgmt_exports.h>
24 
25 namespace materialmgmt
26 {
27  class Mat1UsesSubstance;
28 }
29 namespace materialmgmt
30 {
31  class Mat1UsesSubstanceImpl;
32 }
33 namespace materialmgmt
34 {
35  class Mat1UsesSubstanceDelegate;
36 }
37 namespace materialmgmt
38 {
39  class Mat1UsesSubstanceDispatch;
40 }
41 namespace materialmgmt
42 {
43  class Mat1UsesSubstanceGenImpl;
44 }
45 namespace Teamcenter
46 {
47  class RootObjectImpl;
48 }
49 
50 class MAT1MATERIALMGMT_API materialmgmt::Mat1UsesSubstance
52 {
53 public:
54 
59  static const std::string& getInterfaceName();
60 
61 protected:
62  // Method to initialize
63  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
64 
69 
73  virtual ~Mat1UsesSubstance();
74 
75 private:
76  // Getter method for the Implementation Object
77  Mat1UsesSubstanceImpl* getMat1UsesSubstanceImpl() const;
78  // Setter method for the Implementation Object
79  ::Teamcenter::RootObjectImpl* setMat1UsesSubstanceImpl( ::Teamcenter::RootObjectImpl* impl );
80 
81  // Method to set the delete impl boolean
82  void setDeleteImpl( bool del );
83 
84  // Pointer to the Implementation object
85  Mat1UsesSubstanceImpl* m_mat1usessubstanceImpl;
86 
87  // Flag to indicate if Implementation object needs to be deleted
89 
93  static std::string name;
94 
101 
102  friend class Mat1UsesSubstanceDelegate;
103  friend class Mat1UsesSubstanceGenImpl;
104 };
105 
106 #include <mat1materialmgmt/libmat1materialmgmt_undef.h>
107 #endif // MATERIALMGMT__MAT1USESSUBSTANCE__HXX