Teamcenter C++ API Reference  2312
Cls0HierarchyNode.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //
4 //Copyright $2023.
5 //Siemens Product Lifecycle Management Software Inc.
6 //All Rights Reserved.
7 //==================================================
8 //Copyright 2022 Siemens Digital Industries Software
9 
10 /*==================================================================================================
11 File description:
12  This file contains the declaration for the Business Object, Cls0HierarchyNode
13  Filename: Cls0HierarchyNode.hxx
14  Module: Cls0classification
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef TEAMCENTER__CLASSIFICATION__CLS0HIERARCHYNODE__HXX
19 #define TEAMCENTER__CLASSIFICATION__CLS0HIERARCHYNODE__HXX
20 
21 #include <vector>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <Cls0classification/libcls0classification_exports.h>
27 
28 namespace Teamcenter
29 {
30  namespace Classification
31  {
32  class Cls0HierarchyNode;
33  }
34 }
35 namespace Teamcenter
36 {
37  namespace Classification
38  {
39  class Cls0HierarchyNodeImpl;
40  }
41 }
42 namespace Teamcenter
43 {
44  namespace Classification
45  {
46  class Cls0HierarchyNodeDelegate;
47  }
48 }
49 namespace Teamcenter
50 {
51  namespace Classification
52  {
53  class Cls0HierarchyNodeDispatch;
54  }
55 }
56 namespace Teamcenter
57 {
58  namespace Classification
59  {
60  class Cls0HierarchyNodeGenImpl;
61  }
62 }
63 namespace Teamcenter
64 {
65  class RootObjectImpl;
66 }
67 
68 class CLS0CLASSIFICATION_API Teamcenter::Classification::Cls0HierarchyNode
70 {
71 public:
72 
77  static const std::string& getInterfaceName();
78 
79 
87  int getCls0ancestors( std::vector< std::string > &values, std::vector< int > &isNull ) const;
88 
96  int getCls0child_count( int &value, bool &isNull ) const;
97 
105  int getCls0classify_in_replica( bool &value, bool &isNull ) const;
106 
114  int getCls0filter_by_read_access( bool &value, bool &isNull ) const;
115 
123  int getCls0hierarchy_view( tag_t &value, bool &isNull ) const;
124 
132  int getCls0icon( tag_t &value, bool &isNull ) const;
133 
141  int getCls0image( tag_t &value, bool &isNull ) const;
142 
150  int getCls0instance_count( int &value, bool &isNull ) const;
151 
159  int getCls0is_abstract( bool &value, bool &isNull ) const;
160 
168  int getCls0is_assembly( bool &value, bool &isNull ) const;
169 
177  int getCls0is_leaf_node( bool &value, bool &isNull ) const;
178 
186  int getCls0level_sort_index( int &value, bool &isNull ) const;
187 
195  int getCls0multiple_classification( bool &value, bool &isNull ) const;
196 
204  int setCls0ancestors( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
205 
213  int setCls0hierarchy_view( const tag_t &value, bool isNull=false );
214 
222  int setCls0is_leaf_node( bool value, bool isNull=false );
223 
231  int setCls0level_sort_index( int value, bool isNull=false );
232 protected:
233  // Method to initialize
234  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
235 
240 
244  virtual ~Cls0HierarchyNode();
245 
246 private:
247  // Getter method for the Implementation Object
248  Cls0HierarchyNodeImpl* getCls0HierarchyNodeImpl() const;
249  // Setter method for the Implementation Object
250  ::Teamcenter::RootObjectImpl* setCls0HierarchyNodeImpl( ::Teamcenter::RootObjectImpl* impl );
251 
252  // Method to set the delete impl boolean
253  void setDeleteImpl( bool del );
254 
255  // Pointer to the Implementation object
256  Cls0HierarchyNodeImpl* m_cls0hierarchynodeImpl;
257 
258  // Flag to indicate if Implementation object needs to be deleted
260 
264  static std::string name;
265 
272 
273  friend class Cls0HierarchyNodeDelegate;
274  friend class Cls0HierarchyNodeGenImpl;
275 };
276 
277 #include <Cls0classification/libcls0classification_undef.h>
278 #endif // TEAMCENTER__CLASSIFICATION__CLS0HIERARCHYNODE__HXX