Teamcenter C++ API Reference  2312
Mpr0Activity.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, Mpr0Activity
12  Filename: Mpr0Activity.hxx
13  Module: Mpr0process
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CMTPROCESS__MPR0ACTIVITY__HXX
18 #define CMTPROCESS__MPR0ACTIVITY__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 Mpr0Activity;
30 }
31 namespace cmtprocess
32 {
33  class Mpr0ActivityImpl;
34 }
35 namespace cmtprocess
36 {
37  class Mpr0ActivityDelegate;
38 }
39 namespace cmtprocess
40 {
41  class Mpr0ActivityDispatch;
42 }
43 namespace cmtprocess
44 {
45  class Mpr0ActivityGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class MPR0PROCESS_API cmtprocess::Mpr0Activity
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getMpr0hasManufacturingElements( bool &value, bool &isNull ) const;
72 
80  int getMpr0hasProcessElements( bool &value, bool &isNull ) const;
81 
89  int getMpr0manufacturingElements( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
90 
98  int getMpr0parentBuildElement( tag_t &value, bool &isNull ) const;
99 
107  int getMpr0processElements( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
108 
116  int getMpr0productIntent( std::vector< std::string > &values, std::vector< int > &isNull ) const;
117 
125  int getMpr0productSubsetCalcDate( date_t &value, bool &isNull ) const;
126 
134  int getMpr0removedPEs( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
135 protected:
136  // Method to initialize
137  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
138 
142  Mpr0Activity();
143 
147  virtual ~Mpr0Activity();
148 
149 private:
150  // Getter method for the Implementation Object
151  Mpr0ActivityImpl* getMpr0ActivityImpl() const;
152  // Setter method for the Implementation Object
153  ::Teamcenter::RootObjectImpl* setMpr0ActivityImpl( ::Teamcenter::RootObjectImpl* impl );
154 
155  // Method to set the delete impl boolean
156  void setDeleteImpl( bool del );
157 
158  // Pointer to the Implementation object
159  Mpr0ActivityImpl* m_mpr0activityImpl;
160 
161  // Flag to indicate if Implementation object needs to be deleted
163 
167  static std::string name;
168 
173  Mpr0Activity( const Mpr0Activity& );
175 
176  friend class Mpr0ActivityDelegate;
177  friend class Mpr0ActivityGenImpl;
178 };
179 
180 #include <Mpr0process/libmpr0process_undef.h>
181 #endif // CMTPROCESS__MPR0ACTIVITY__HXX