Teamcenter C++ API Reference  2312
Cpd0DesignItemInstance.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, Cpd0DesignItemInstance
12  Filename: Cpd0DesignItemInstance.hxx
13  Module: cpd0cd
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CPD__CPD0DESIGNITEMINSTANCE__HXX
18 #define TEAMCENTER__CPD__CPD0DESIGNITEMINSTANCE__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <cpd0cd/libcpd0cd_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace Cpd
30  {
31  class Cpd0DesignItemInstance;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace Cpd
37  {
38  class Cpd0DesignItemInstanceImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace Cpd
44  {
45  class Cpd0DesignItemInstanceDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace Cpd
51  {
52  class Cpd0DesignItemInstanceDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace Cpd
58  {
59  class Cpd0DesignItemInstanceGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class CPD0CD_API Teamcenter::Cpd::Cpd0DesignItemInstance
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getCpd0reuse_element( tag_t &value, bool &isNull ) const;
87 
95  int getCpd0structure_lmd( date_t &value, bool &isNull ) const;
96 
104  int setCpd0reuse_element( const tag_t &value, bool isNull=false );
105 
113  int setCpd0structure_lmd( const date_t &value, bool isNull=false );
114 
122  int cpd0ItemRealization( const std::vector< tag_t > *bomLines, std::vector< tag_t > *designElements );
123 protected:
124  // Method to initialize
125  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
126 
131 
135  virtual ~Cpd0DesignItemInstance();
136 
137 private:
138  // Getter method for the Implementation Object
139  Cpd0DesignItemInstanceImpl* getCpd0DesignItemInstanceImpl() const;
140  // Setter method for the Implementation Object
141  ::Teamcenter::RootObjectImpl* setCpd0DesignItemInstanceImpl( ::Teamcenter::RootObjectImpl* impl );
142 
143  // Method to set the delete impl boolean
144  void setDeleteImpl( bool del );
145 
146  // Pointer to the Implementation object
147  Cpd0DesignItemInstanceImpl* m_cpd0designiteminstanceImpl;
148 
149  // Flag to indicate if Implementation object needs to be deleted
151 
155  static std::string name;
156 
163 
164  friend class Cpd0DesignItemInstanceDelegate;
165  friend class Cpd0DesignItemInstanceGenImpl;
166 };
167 
168 #include <cpd0cd/libcpd0cd_undef.h>
169 #endif // TEAMCENTER__CPD__CPD0DESIGNITEMINSTANCE__HXX