Teamcenter C++ API Reference  2312
Mpr0BuildElement.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, Mpr0BuildElement
12  Filename: Mpr0BuildElement.hxx
13  Module: Mpr0process
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CMTPROCESS__MPR0BUILDELEMENT__HXX
18 #define CMTPROCESS__MPR0BUILDELEMENT__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <Mpr0process/libmpr0process_exports.h>
26 
27 namespace cmtprocess
28 {
29  class Mpr0BuildElement;
30 }
31 namespace cmtprocess
32 {
33  class Mpr0BuildElementImpl;
34 }
35 namespace cmtprocess
36 {
37  class Mpr0BuildElementDelegate;
38 }
39 namespace cmtprocess
40 {
41  class Mpr0BuildElementDispatch;
42 }
43 namespace cmtprocess
44 {
45  class Mpr0BuildElementGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class MPR0PROCESS_API cmtprocess::Mpr0BuildElement
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getMpr0BuildElementActivities( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
72 
80  int getMpr0hasActivities( bool &value, bool &isNull ) const;
81 
89  int getMpr0hasSubBuildElements( bool &value, bool &isNull ) const;
90 
98  int getMpr0parentBuildElement( tag_t &value, bool &isNull ) const;
99 
107  int getMpr0ProductScope( tag_t &value, bool &isNull ) const;
108 
116  int getMpr0SubBuildElements( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
117 protected:
118  // Method to initialize
119  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
120 
125 
129  virtual ~Mpr0BuildElement();
130 
131 private:
132  // Getter method for the Implementation Object
133  Mpr0BuildElementImpl* getMpr0BuildElementImpl() const;
134  // Setter method for the Implementation Object
135  ::Teamcenter::RootObjectImpl* setMpr0BuildElementImpl( ::Teamcenter::RootObjectImpl* impl );
136 
137  // Method to set the delete impl boolean
138  void setDeleteImpl( bool del );
139 
140  // Pointer to the Implementation object
141  Mpr0BuildElementImpl* m_mpr0buildelementImpl;
142 
143  // Flag to indicate if Implementation object needs to be deleted
145 
149  static std::string name;
150 
157 
158  friend class Mpr0BuildElementDelegate;
159  friend class Mpr0BuildElementGenImpl;
160 };
161 
162 #include <Mpr0process/libmpr0process_undef.h>
163 #endif // CMTPROCESS__MPR0BUILDELEMENT__HXX