Teamcenter C++ API Reference  2312
Lis0ResourceAttrHelper.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, Lis0ResourceAttrHelper
12  Filename: Lis0ResourceAttrHelper.hxx
13  Module: Lis0lisfmwrk
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef LIS0LISFMWRK__LIS0RESOURCEATTRHELPER__HXX
18 #define LIS0LISFMWRK__LIS0RESOURCEATTRHELPER__HXX
19 
20 #include <unidefs.h>
22 #include <string>
24 #include <common/tc_deprecation_macros.h>
25 #include <tccore/POM_object.hxx>
26 
27 #include <Lis0lisfmwrk/liblis0lisfmwrk_exports.h>
28 
29 namespace lis0lisfmwrk
30 {
31  class Lis0ResourceAttrHelper;
32 }
33 namespace lis0lisfmwrk
34 {
35  class Lis0ResourceAttrHelperImpl;
36 }
37 namespace lis0lisfmwrk
38 {
39  class Lis0ResourceAttrHelperDelegate;
40 }
41 namespace lis0lisfmwrk
42 {
43  class Lis0ResourceAttrHelperDispatch;
44 }
45 namespace lis0lisfmwrk
46 {
47  class Lis0ResourceAttrHelperGenImpl;
48 }
49 namespace Teamcenter
50 {
51  class RootObjectImpl;
52 }
53 
54 class LIS0LISFMWRK_API lis0lisfmwrk::Lis0ResourceAttrHelper
56 {
57 public:
58 
63  static const std::string& getInterfaceName();
64 
65 
77 
87  int lis0collectSemanticAttributes( const std::string &catalogIdentifier, const tag_t &resourceObjectType, lis0lisfmwrk::Lis0ResourceShapeAttributes **resourceShapeAttributes, lis0lisfmwrk::Lis0ResourceShapeAttributes **relationMap ) const;
88 
96  int lis0isSuppportedType( tag_t typeTag, bool *isSupported ) const;
97 
106  int lis0updateBOAttributes( tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *boAttrMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
107 
116  int lis0updateCompundAttributes( tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *compoundAttributesMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
117 
126  int lis0updateRelations( tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *relationMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
127 
136  int lis0updateStatus( tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *statusMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
137 protected:
138  // Method to initialize
139  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
140 
145 
149  virtual ~Lis0ResourceAttrHelper();
150 
151 private:
152  // Getter method for the Implementation Object
153  Lis0ResourceAttrHelperImpl* getLis0ResourceAttrHelperImpl() const;
154  // Setter method for the Implementation Object
155  ::Teamcenter::RootObjectImpl* setLis0ResourceAttrHelperImpl( ::Teamcenter::RootObjectImpl* impl );
156 
157  // Method to set the delete impl boolean
158  void setDeleteImpl( bool del );
159 
160  // Pointer to the Implementation object
161  Lis0ResourceAttrHelperImpl* m_lis0resourceattrhelperImpl;
162 
163  // Flag to indicate if Implementation object needs to be deleted
165 
169  static std::string name;
170 
177 
178  friend class Lis0ResourceAttrHelperDelegate;
179  friend class Lis0ResourceAttrHelperGenImpl;
180 };
181 
182 #include <Lis0lisfmwrk/liblis0lisfmwrk_undef.h>
183 #endif // LIS0LISFMWRK__LIS0RESOURCEATTRHELPER__HXX