Teamcenter C++ API Reference  2312
ItemDelegateExt.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, ItemDelegate
12  Filename: ItemDelegateExt.hxx
13  Module: awp0aws2
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef AWP0__AWS2__ITEMDELEGATE_HXX
18 #define AWP0__AWS2__ITEMDELEGATE_HXX
19 
20 #include <common/tc_deprecation_macros.h>
21 #include <awp0aws2/ItemExt.hxx>
22 
23 #include <awp0aws2/libawp0aws2_exports.h>
24 
25 
26 namespace awp0
27 {
28  namespace aws2
29  {
30  class ItemDelegate;
31  }
32 }
33 namespace awp0
34 {
35  namespace aws2
36  {
37  class ItemImpl;
38  }
39 }
40 namespace awp0
41 {
42  namespace aws2
43  {
44  class Item;
45  }
46 }
47 namespace awp0
48 {
49  namespace aws2
50  {
51  class ItemGenImpl;
52  }
53 }
54 
55 namespace awp0_alias = ::awp0;
56 
57 
58 class AWP0AWS2_API awp0_alias::aws2::ItemDelegate
59 {
60 public:
61  // Constructor Method
62  static ::Teamcenter::BusinessObjectExtender* constructor( tag_t objTag );
63 
64  // Method to initialize this Class
65  static int initializeClass();
66 
67  // Method to get the ItemDelegate instance
68  static ItemDelegate& getInstance();
69 
70  // Method to create the ItemImpl pointer
71  static ItemImpl* createImpl( Item& ifObj );
72 
73  // Method to delete the ItemImpl pointer
74  static void deleteImpl( ItemImpl* impl );
75 
76 
84  int awp0IsRemoveAlternateVisibleBase(const Item &ifObj, tag_t selection, bool *isVisible );
85 
86 
87 
88 protected:
89  // Pointer to the instance
91 
92  ItemDelegate();
93  virtual ~ItemDelegate();
94 
95 private:
96  friend class ::awp0::aws2::ItemGenImpl;
97 
98 };
99 
100 #include <awp0aws2/libawp0aws2_undef.h>
101 #endif // AWP0__AWS2__ITEMDELEGATE_HXX