Teamcenter C++ API Reference  2312
Cpd0DesignModelElement.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, Cpd0DesignModelElement
12  Filename: Cpd0DesignModelElement.hxx
13  Module: cpd0cd
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CPD__CPD0DESIGNMODELELEMENT__HXX
18 #define TEAMCENTER__CPD__CPD0DESIGNMODELELEMENT__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <cpd0cd/libcpd0cd_exports.h>
27 
28 namespace Teamcenter
29 {
30  namespace Cpd
31  {
32  class Cpd0DesignModelElement;
33  }
34 }
35 namespace Teamcenter
36 {
37  namespace Cpd
38  {
39  class Cpd0DesignModelElementImpl;
40  }
41 }
42 namespace Teamcenter
43 {
44  namespace Cpd
45  {
46  class Cpd0DesignModelElementDelegate;
47  }
48 }
49 namespace Teamcenter
50 {
51  namespace Cpd
52  {
53  class Cpd0DesignModelElementDispatch;
54  }
55 }
56 namespace Teamcenter
57 {
58  namespace Cpd
59  {
60  class Cpd0DesignModelElementGenImpl;
61  }
62 }
63 namespace Teamcenter
64 {
65  class RootObjectImpl;
66 }
67 
68 class CPD0CD_API Teamcenter::Cpd::Cpd0DesignModelElement
70 {
71 public:
72 
77  static const std::string& getInterfaceName();
78 
79 
87  int getCpd0category( std::string &value, bool &isNull ) const;
88 
96  int getCpd0connected_features( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
97 
105  int getCpd0design_element_id( std::string &value, bool &isNull ) const;
106 
114  int getCpd0id_in_parent( std::string &value, bool &isNull ) const;
115 
123  int getCpd0instance( tag_t &value, bool &isNull ) const;
124 
132  int getCpd0is_leaf( bool &value, bool &isNull ) const;
133 
141  int getCpd0presented_parent( tag_t &value, bool &isNull ) const;
142 
150  int getCpd0source_object( tag_t &value, bool &isNull ) const;
151 
159  int setCpd0category( const std::string &value, bool isNull=false );
160 
168  int setCpd0design_element_id( const std::string &value, bool isNull=false );
169 
177  int setCpd0id_in_parent( const std::string &value, bool isNull=false );
178 
186  int setCpd0is_leaf( bool value, bool isNull=false );
187 
195  int setCpd0presented_parent( const tag_t &value, bool isNull=false );
196 
204  int setCpd0source_object( const tag_t &value, bool isNull=false );
205 protected:
206  // Method to initialize
207  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
208 
213 
217  virtual ~Cpd0DesignModelElement();
218 
219 private:
220  // Getter method for the Implementation Object
221  Cpd0DesignModelElementImpl* getCpd0DesignModelElementImpl() const;
222  // Setter method for the Implementation Object
223  ::Teamcenter::RootObjectImpl* setCpd0DesignModelElementImpl( ::Teamcenter::RootObjectImpl* impl );
224 
225  // Method to set the delete impl boolean
226  void setDeleteImpl( bool del );
227 
228  // Pointer to the Implementation object
229  Cpd0DesignModelElementImpl* m_cpd0designmodelelementImpl;
230 
231  // Flag to indicate if Implementation object needs to be deleted
233 
237  static std::string name;
238 
245 
246  friend class Cpd0DesignModelElementDelegate;
247  friend class Cpd0DesignModelElementGenImpl;
248 };
249 
250 #include <cpd0cd/libcpd0cd_undef.h>
251 #endif // TEAMCENTER__CPD__CPD0DESIGNMODELELEMENT__HXX