Teamcenter C++ API Reference  2312
Smd0LogicalElement.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, Smd0LogicalElement
12  Filename: Smd0LogicalElement.hxx
13  Module: Smd0sysmodeling
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef SMD0SYSTEMMODELING__SMD0LOGICALELEMENT__HXX
18 #define SMD0SYSTEMMODELING__SMD0LOGICALELEMENT__HXX
19 
20 #include <vector>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <Smd0sysmodeling/libsmd0sysmodeling_exports.h>
25 
26 namespace smd0systemmodeling
27 {
28  class Smd0LogicalElement;
29 }
30 namespace smd0systemmodeling
31 {
32  class Smd0LogicalElementImpl;
33 }
34 namespace smd0systemmodeling
35 {
36  class Smd0LogicalElementDelegate;
37 }
38 namespace smd0systemmodeling
39 {
40  class Smd0LogicalElementDispatch;
41 }
42 namespace smd0systemmodeling
43 {
44  class Smd0LogicalElementGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class SMD0SYSMODELING_API smd0systemmodeling::Smd0LogicalElement
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getSmd0AttachedPorts( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
71 protected:
72  // Method to initialize
73  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
74 
79 
83  virtual ~Smd0LogicalElement();
84 
85 private:
86  // Getter method for the Implementation Object
87  Smd0LogicalElementImpl* getSmd0LogicalElementImpl() const;
88  // Setter method for the Implementation Object
89  ::Teamcenter::RootObjectImpl* setSmd0LogicalElementImpl( ::Teamcenter::RootObjectImpl* impl );
90 
91  // Method to set the delete impl boolean
92  void setDeleteImpl( bool del );
93 
94  // Pointer to the Implementation object
95  Smd0LogicalElementImpl* m_smd0logicalelementImpl;
96 
97  // Flag to indicate if Implementation object needs to be deleted
99 
103  static std::string name;
104 
111 
112  friend class Smd0LogicalElementDelegate;
113  friend class Smd0LogicalElementGenImpl;
114 };
115 
116 #include <Smd0sysmodeling/libsmd0sysmodeling_undef.h>
117 #endif // SMD0SYSTEMMODELING__SMD0LOGICALELEMENT__HXX