Teamcenter C++ API Reference  2312
Mat1MaterialRevision.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, Mat1MaterialRevision
12  Filename: Mat1MaterialRevision.hxx
13  Module: mat1materialmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef MATERIALMGMT__MAT1MATERIALREVISION__HXX
18 #define MATERIALMGMT__MAT1MATERIALREVISION__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
24 #include <tccore/ItemRevision.hxx>
25 
26 #include <mat1materialmgmt/libmat1materialmgmt_exports.h>
27 
28 namespace materialmgmt
29 {
30  class Mat1MaterialRevision;
31 }
32 namespace materialmgmt
33 {
34  class Mat1MaterialRevisionImpl;
35 }
36 namespace materialmgmt
37 {
38  class Mat1MaterialRevisionDelegate;
39 }
40 namespace materialmgmt
41 {
42  class Mat1MaterialRevisionDispatch;
43 }
44 namespace materialmgmt
45 {
46  class Mat1MaterialRevisionGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class MAT1MATERIALMGMT_API materialmgmt::Mat1MaterialRevision
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getMat1substance_details( std::string &value, bool &isNull ) const;
73 
81  int getMat1substances( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
82 
90  int setMat1ExtendsMaterial( const tag_t &value, bool isNull=false );
91 protected:
92  // Method to initialize
93  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
94 
99 
103  virtual ~Mat1MaterialRevision();
104 
105 private:
106  // Getter method for the Implementation Object
107  Mat1MaterialRevisionImpl* getMat1MaterialRevisionImpl() const;
108  // Setter method for the Implementation Object
109  ::Teamcenter::RootObjectImpl* setMat1MaterialRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
110 
111  // Method to set the delete impl boolean
112  void setDeleteImpl( bool del );
113 
114  // Pointer to the Implementation object
115  Mat1MaterialRevisionImpl* m_mat1materialrevisionImpl;
116 
117  // Flag to indicate if Implementation object needs to be deleted
119 
123  static std::string name;
124 
131 
132  friend class Mat1MaterialRevisionDelegate;
133  friend class Mat1MaterialRevisionGenImpl;
134 };
135 
136 #include <mat1materialmgmt/libmat1materialmgmt_undef.h>
137 #endif // MATERIALMGMT__MAT1MATERIALREVISION__HXX