Teamcenter C++ API Reference  2312
Lbr0HierarchyNode.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, Lbr0HierarchyNode
12  Filename: Lbr0HierarchyNode.hxx
13  Module: Lbr0librarymgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__LIBRARYMGMT__LBR0HIERARCHYNODE__HXX
18 #define TEAMCENTER__LIBRARYMGMT__LBR0HIERARCHYNODE__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <Lbr0librarymgmt/liblbr0librarymgmt_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace LibraryMgmt
30  {
31  class Lbr0HierarchyNode;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace LibraryMgmt
37  {
38  class Lbr0HierarchyNodeImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace LibraryMgmt
44  {
45  class Lbr0HierarchyNodeDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace LibraryMgmt
51  {
52  class Lbr0HierarchyNodeDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace LibraryMgmt
58  {
59  class Lbr0HierarchyNodeGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class LBR0LIBRARYMGMT_API Teamcenter::LibraryMgmt::Lbr0HierarchyNode
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getLbr0RepresentationIntents( std::vector< std::string > &values, std::vector< int > &isNull ) const;
87 
95  int getLbr0RepresentationObjects( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
96 
104  int setLbr0ClassificationNode( const tag_t &value, bool isNull=false );
105 
117  int lbr0PublishToLibraryNode( const std::vector< tag_t > *objectsToPublish, const std::vector< tag_t > *clsProperties, const std::vector< tag_t > *elementProperties, std::vector< tag_t > *createdElements, std::vector< tag_t > *failedObjects, std::vector< int > *errorCodes );
118 
128  int lbr0RetractFromLibraryNode( const std::vector< tag_t > *objectsToRetract, const bool deleteClsObjects, std::vector< tag_t > *failedObjects, std::vector< int > *errorCodes );
129 
138  int lbr0ValidateInstantiations( const std::vector< tag_t > *libraryElements, const std::vector< tag_t > *properties, std::vector< int > *validationCodes );
139 protected:
140  // Method to initialize
141  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
142 
147 
151  virtual ~Lbr0HierarchyNode();
152 
153 private:
154  // Getter method for the Implementation Object
155  Lbr0HierarchyNodeImpl* getLbr0HierarchyNodeImpl() const;
156  // Setter method for the Implementation Object
157  ::Teamcenter::RootObjectImpl* setLbr0HierarchyNodeImpl( ::Teamcenter::RootObjectImpl* impl );
158 
159  // Method to set the delete impl boolean
160  void setDeleteImpl( bool del );
161 
162  // Pointer to the Implementation object
163  Lbr0HierarchyNodeImpl* m_lbr0hierarchynodeImpl;
164 
165  // Flag to indicate if Implementation object needs to be deleted
167 
171  static std::string name;
172 
179 
180  friend class Lbr0HierarchyNodeDelegate;
181  friend class Lbr0HierarchyNodeGenImpl;
182 };
183 
184 #include <Lbr0librarymgmt/liblbr0librarymgmt_undef.h>
185 #endif // TEAMCENTER__LIBRARYMGMT__LBR0HIERARCHYNODE__HXX