Teamcenter C++ API Reference  2312
Mdl0ModelElement.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, Mdl0ModelElement
12  Filename: Mdl0ModelElement.hxx
13  Module: mdl0model
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__APPMODEL__MDL0MODELELEMENT__HXX
18 #define TEAMCENTER__APPMODEL__MDL0MODELELEMENT__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <mdl0model/libmdl0model_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace AppModel
30  {
31  class Mdl0ModelElement;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace AppModel
37  {
38  class Mdl0ModelElementImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace AppModel
44  {
45  class Mdl0ModelElementDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace AppModel
51  {
52  class Mdl0ModelElementDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace AppModel
58  {
59  class Mdl0ModelElementGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class MDL0MODEL_API Teamcenter::AppModel::Mdl0ModelElement
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getMdl0AttributeGroups( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
87 
95  int getMdl0is_obsolete( bool &value, bool &isNull ) const;
96 
104  int getMdl0model_object( tag_t &value, bool &isNull ) const;
105 
113  int getMdl0Override( int &value, bool &isNull ) const;
114 
122  int getMdl0pending_AttachAttrGroup( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
123 
131  int setMdl0AttributeGroups( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
132 
140  int setMdl0is_obsolete( bool value, bool isNull=false );
141 
149  int setMdl0model_object( const tag_t &value, bool isNull=false );
150 
158  int setMdl0Override( int value, bool isNull=false );
159 
167  int setMdl0pending_AttachAttrGroup( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
168 
175  int mdl0chkInterModel( bool *chkInter );
176 
183  int mdl0chkIntraModel( bool *chkIntra );
184 
191  int mdl0chkModelInstantiation( bool *chkInstantiation );
192 
199  int mdl0chkModelRealization( bool *chkRealization );
200 
207  int mdl0chkModelRlzOrInstantiation( bool *isCopyMOG );
208 protected:
209  // Method to initialize
210  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
211 
216 
220  virtual ~Mdl0ModelElement();
221 
222 private:
223  // Getter method for the Implementation Object
224  Mdl0ModelElementImpl* getMdl0ModelElementImpl() const;
225  // Setter method for the Implementation Object
226  ::Teamcenter::RootObjectImpl* setMdl0ModelElementImpl( ::Teamcenter::RootObjectImpl* impl );
227 
228  // Method to set the delete impl boolean
229  void setDeleteImpl( bool del );
230 
231  // Pointer to the Implementation object
232  Mdl0ModelElementImpl* m_mdl0modelelementImpl;
233 
234  // Flag to indicate if Implementation object needs to be deleted
236 
240  static std::string name;
241 
248 
249  friend class Mdl0ModelElementDelegate;
250  friend class Mdl0ModelElementGenImpl;
251 };
252 
253 #include <mdl0model/libmdl0model_undef.h>
254 #endif // TEAMCENTER__APPMODEL__MDL0MODELELEMENT__HXX