Teamcenter C++ API Reference  2312
Ptn0PartitionScheme.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, Ptn0PartitionScheme
12  Filename: Ptn0PartitionScheme.hxx
13  Module: ptn0partition
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__PARTITION__PTN0PARTITIONSCHEME__HXX
18 #define TEAMCENTER__PARTITION__PTN0PARTITIONSCHEME__HXX
19 
20 #include <unidefs.h>
21 #include <vector>
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 Ptn0PartitionScheme;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace Partition
37  {
38  class Ptn0PartitionSchemeImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace Partition
44  {
45  class Ptn0PartitionSchemeDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace Partition
51  {
52  class Ptn0PartitionSchemeDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace Partition
58  {
59  class Ptn0PartitionSchemeGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class PTN0PARTITION_API Teamcenter::Partition::Ptn0PartitionScheme
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getPtn0allows_add_content( bool &value, bool &isNull ) const;
87 
95  int getPtn0supported_partn_types( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
96 
104  int setPtn0supported_partn_types( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
105 
113  int ptn0getTopLevelPartitions( const tag_t &configurationContext, std::vector< tag_t > &partitions );
114 protected:
115  // Method to initialize
116  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
117 
122 
126  virtual ~Ptn0PartitionScheme();
127 
128 private:
129  // Getter method for the Implementation Object
130  Ptn0PartitionSchemeImpl* getPtn0PartitionSchemeImpl() const;
131  // Setter method for the Implementation Object
132  ::Teamcenter::RootObjectImpl* setPtn0PartitionSchemeImpl( ::Teamcenter::RootObjectImpl* impl );
133 
134  // Method to set the delete impl boolean
135  void setDeleteImpl( bool del );
136 
137  // Pointer to the Implementation object
138  Ptn0PartitionSchemeImpl* m_ptn0partitionschemeImpl;
139 
140  // Flag to indicate if Implementation object needs to be deleted
142 
146  static std::string name;
147 
154 
155  friend class Ptn0PartitionSchemeDelegate;
156  friend class Ptn0PartitionSchemeGenImpl;
157 };
158 
159 #include <ptn0partition/libptn0partition_undef.h>
160 #endif // TEAMCENTER__PARTITION__PTN0PARTITIONSCHEME__HXX