Teamcenter C++ API Reference  2312
mat1materialmgmt/ItemRevisionExt.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, ItemRevision
12  Filename: ItemRevisionExt.hxx
13  Module: mat1materialmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef MAT1__MATERIALMGMT__ITEMREVISION__HXX
18 #define MAT1__MATERIALMGMT__ITEMREVISION__HXX
19 
20 #include <common/tc_deprecation_macros.h>
24 
25 #include <mat1materialmgmt/libmat1materialmgmt_exports.h>
26 
27 namespace mat1
28 {
29  namespace materialmgmt
30  {
31  class ItemRevision;
32  }
33 }
34 namespace mat1
35 {
36  namespace materialmgmt
37  {
38  class ItemRevisionImpl;
39  }
40 }
41 namespace mat1
42 {
43  namespace materialmgmt
44  {
45  class ItemRevisionDelegate;
46  }
47 }
48 namespace mat1
49 {
50  namespace materialmgmt
51  {
52  class ItemRevisionDispatch;
53  }
54 }
55 namespace mat1
56 {
57  namespace materialmgmt
58  {
59  class ItemRevisionGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class MAT1MATERIALMGMT_API mat1::materialmgmt::ItemRevision
69 {
70 public:
71 
75  ItemRevision( tag_t objTag );
80  static ::Teamcenter::BusinessObjectExtenderRegistry< mat1::materialmgmt::ItemRevision >& extenderRegistry();
81 
86  static const std::string& getExtenderInterfaceName();
87 
88 
96  int getMat1CumulativeMaterialsMass( double &value, bool &isNull ) const;
97 protected:
98  // Method to initialize
99  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
100 
101 
105  virtual ~ItemRevision();
106 
107 private:
108  // Getter method for the Implementation Object
109  ItemRevisionImpl* getItemRevisionImpl() const;
110  // Setter method for the Implementation Object
111  ::Teamcenter::RootObjectImpl* setItemRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
112 
113  // Method to set the delete impl boolean
114  void setDeleteImpl( bool del );
115 
116  // Pointer to the Implementation object
117  ItemRevisionImpl* m_itemrevisionImpl;
118 
119  // Flag to indicate if Implementation object needs to be deleted
121 
125  static std::string name;
126 
131  ItemRevision( const ItemRevision& );
133 
134  friend class ItemRevisionDelegate;
135  friend class ItemRevisionGenImpl;
136  friend class ItemRevisionImpl;
137 };
138 
139 #include <mat1materialmgmt/libmat1materialmgmt_undef.h>
140 #endif // MAT1__MATERIALMGMT__ITEMREVISION__HXX