Teamcenter C++ API Reference  2312
ItemExt.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, Item
12  Filename: ItemExt.hxx
13  Module: awp0aws2
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef AWP0__AWS2__ITEM__HXX
18 #define AWP0__AWS2__ITEM__HXX
19 
20 #include <unidefs.h>
21 #include <common/tc_deprecation_macros.h>
25 
26 #include <awp0aws2/libawp0aws2_exports.h>
27 
28 namespace awp0
29 {
30  namespace aws2
31  {
32  class Item;
33  }
34 }
35 namespace awp0
36 {
37  namespace aws2
38  {
39  class ItemImpl;
40  }
41 }
42 namespace awp0
43 {
44  namespace aws2
45  {
46  class ItemDelegate;
47  }
48 }
49 namespace awp0
50 {
51  namespace aws2
52  {
53  class ItemDispatch;
54  }
55 }
56 namespace awp0
57 {
58  namespace aws2
59  {
60  class ItemGenImpl;
61  }
62 }
63 namespace Teamcenter
64 {
65  class RootObjectImpl;
66 }
67 
68 class AWP0AWS2_API awp0::aws2::Item
70 {
71 public:
72 
76  Item( tag_t objTag );
81  static ::Teamcenter::BusinessObjectExtenderRegistry< awp0::aws2::Item >& extenderRegistry();
82 
87  static const std::string& getExtenderInterfaceName();
88 
89 
97  int awp0IsRemoveAlternateVisible( tag_t selection, bool *isVisible );
98 protected:
99  // Method to initialize
100  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
101 
102 
106  virtual ~Item();
107 
108 private:
109  // Getter method for the Implementation Object
110  ItemImpl* getItemImpl() const;
111  // Setter method for the Implementation Object
112  ::Teamcenter::RootObjectImpl* setItemImpl( ::Teamcenter::RootObjectImpl* impl );
113 
114  // Method to set the delete impl boolean
115  void setDeleteImpl( bool del );
116 
117  // Pointer to the Implementation object
118  ItemImpl* m_itemImpl;
119 
120  // Flag to indicate if Implementation object needs to be deleted
122 
126  static std::string name;
127 
132  Item( const Item& );
133  Item& operator=( const Item& );
134 
135  friend class ItemDelegate;
136  friend class ItemGenImpl;
137  friend class ItemImpl;
138 };
139 
140 #include <awp0aws2/libawp0aws2_undef.h>
141 #endif // AWP0__AWS2__ITEM__HXX