Teamcenter C++ API Reference  2312
Ptn0Membership.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, Ptn0Membership
12  Filename: Ptn0Membership.hxx
13  Module: ptn0partition
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__PARTITION__PTN0MEMBERSHIP__HXX
18 #define TEAMCENTER__PARTITION__PTN0MEMBERSHIP__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <ptn0partition/libptn0partition_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace Partition
30  {
31  class Ptn0Membership;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace Partition
37  {
38  class Ptn0MembershipImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace Partition
44  {
45  class Ptn0MembershipDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace Partition
51  {
52  class Ptn0MembershipDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace Partition
58  {
59  class Ptn0MembershipGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class PTN0PARTITION_API Teamcenter::Partition::Ptn0Membership
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getPtn0is_partition_owned( bool &value, bool &isNull ) const;
87 
95  int getPtn0partition_member( tag_t &value, bool &isNull ) const;
96 
104  int getPtn0reference_designator( std::string &value, bool &isNull ) const;
105 
113  int setPtn0is_partition_owned( bool value, bool isNull=false );
114 
122  int setPtn0partition_member( const tag_t &value, bool isNull=false );
123 
131  int setPtn0reference_designator( const std::string &value, bool isNull=false );
132 
139  int ptn0isOwningMembership( bool *isOwning );
140 protected:
141  // Method to initialize
142  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
143 
147  Ptn0Membership();
148 
152  virtual ~Ptn0Membership();
153 
154 private:
155  // Getter method for the Implementation Object
156  Ptn0MembershipImpl* getPtn0MembershipImpl() const;
157  // Setter method for the Implementation Object
158  ::Teamcenter::RootObjectImpl* setPtn0MembershipImpl( ::Teamcenter::RootObjectImpl* impl );
159 
160  // Method to set the delete impl boolean
161  void setDeleteImpl( bool del );
162 
163  // Pointer to the Implementation object
164  Ptn0MembershipImpl* m_ptn0membershipImpl;
165 
166  // Flag to indicate if Implementation object needs to be deleted
168 
172  static std::string name;
173 
178  Ptn0Membership( const Ptn0Membership& );
180 
181  friend class Ptn0MembershipDelegate;
182  friend class Ptn0MembershipGenImpl;
183 };
184 
185 #include <ptn0partition/libptn0partition_undef.h>
186 #endif // TEAMCENTER__PARTITION__PTN0MEMBERSHIP__HXX