Teamcenter C++ API Reference  2312
Mat1UsesMaterial.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, Mat1UsesMaterial
12  Filename: Mat1UsesMaterial.hxx
13  Module: mat1materialmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef MATERIALMGMT__MAT1USESMATERIAL__HXX
18 #define MATERIALMGMT__MAT1USESMATERIAL__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 Mat1UsesMaterial;
28 }
29 namespace materialmgmt
30 {
31  class Mat1UsesMaterialImpl;
32 }
33 namespace materialmgmt
34 {
35  class Mat1UsesMaterialDelegate;
36 }
37 namespace materialmgmt
38 {
39  class Mat1UsesMaterialDispatch;
40 }
41 namespace materialmgmt
42 {
43  class Mat1UsesMaterialGenImpl;
44 }
45 namespace Teamcenter
46 {
47  class RootObjectImpl;
48 }
49 
50 class MAT1MATERIALMGMT_API materialmgmt::Mat1UsesMaterial
52 {
53 public:
54 
59  static const std::string& getInterfaceName();
60 
61 
69  int getMat1mass_in_grams( double &value, bool &isNull ) const;
70 protected:
71  // Method to initialize
72  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
73 
78 
82  virtual ~Mat1UsesMaterial();
83 
84 private:
85  // Getter method for the Implementation Object
86  Mat1UsesMaterialImpl* getMat1UsesMaterialImpl() const;
87  // Setter method for the Implementation Object
88  ::Teamcenter::RootObjectImpl* setMat1UsesMaterialImpl( ::Teamcenter::RootObjectImpl* impl );
89 
90  // Method to set the delete impl boolean
91  void setDeleteImpl( bool del );
92 
93  // Pointer to the Implementation object
94  Mat1UsesMaterialImpl* m_mat1usesmaterialImpl;
95 
96  // Flag to indicate if Implementation object needs to be deleted
98 
102  static std::string name;
103 
110 
111  friend class Mat1UsesMaterialDelegate;
112  friend class Mat1UsesMaterialGenImpl;
113 };
114 
115 #include <mat1materialmgmt/libmat1materialmgmt_undef.h>
116 #endif // MATERIALMGMT__MAT1USESMATERIAL__HXX