Teamcenter C++ API Reference  2312
Ptn0PartitionLink.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, Ptn0PartitionLink
12  Filename: Ptn0PartitionLink.hxx
13  Module: ptn0partition
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__PARTITION__PTN0PARTITIONLINK__HXX
18 #define TEAMCENTER__PARTITION__PTN0PARTITIONLINK__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 Ptn0PartitionLink;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace Partition
37  {
38  class Ptn0PartitionLinkImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace Partition
44  {
45  class Ptn0PartitionLinkDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace Partition
51  {
52  class Ptn0PartitionLinkDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace Partition
58  {
59  class Ptn0PartitionLinkGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class PTN0PARTITION_API Teamcenter::Partition::Ptn0PartitionLink
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getPtn0partition_definition( tag_t &value, bool &isNull ) const;
87 
95  int getPtn0partition_id( std::string &value, bool &isNull ) const;
96 
104  int getPtn0partition_scheme_type( tag_t &value, bool &isNull ) const;
105 
113  int setPtn0partition_definition( const tag_t &value, bool isNull=false );
114 
122  int setPtn0partition_id( const std::string &value, bool isNull=false );
123 
131  int setPtn0partition_scheme_type( const tag_t &value, bool isNull=false );
132 protected:
133  // Method to initialize
134  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
135 
140 
144  virtual ~Ptn0PartitionLink();
145 
146 private:
147  // Getter method for the Implementation Object
148  Ptn0PartitionLinkImpl* getPtn0PartitionLinkImpl() const;
149  // Setter method for the Implementation Object
150  ::Teamcenter::RootObjectImpl* setPtn0PartitionLinkImpl( ::Teamcenter::RootObjectImpl* impl );
151 
152  // Method to set the delete impl boolean
153  void setDeleteImpl( bool del );
154 
155  // Pointer to the Implementation object
156  Ptn0PartitionLinkImpl* m_ptn0partitionlinkImpl;
157 
158  // Flag to indicate if Implementation object needs to be deleted
160 
164  static std::string name;
165 
172 
173  friend class Ptn0PartitionLinkDelegate;
174  friend class Ptn0PartitionLinkGenImpl;
175 };
176 
177 #include <ptn0partition/libptn0partition_undef.h>
178 #endif // TEAMCENTER__PARTITION__PTN0PARTITIONLINK__HXX