Teamcenter C++ API Reference  2312
Ptn0SubsetDefaults.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, Ptn0SubsetDefaults
12  Filename: Ptn0SubsetDefaults.hxx
13  Module: ptn0partition
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__PARTITION__PTN0SUBSETDEFAULTS__HXX
18 #define TEAMCENTER__PARTITION__PTN0SUBSETDEFAULTS__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
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 Ptn0SubsetDefaults;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace Partition
37  {
38  class Ptn0SubsetDefaultsImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace Partition
44  {
45  class Ptn0SubsetDefaultsDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace Partition
51  {
52  class Ptn0SubsetDefaultsDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace Partition
58  {
59  class Ptn0SubsetDefaultsGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class PTN0PARTITION_API Teamcenter::Partition::Ptn0SubsetDefaults
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getPtn0partition_definitions( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
87 
95  int getPtn0partition_ids( std::vector< std::string > &values, std::vector< int > &isNull ) const;
96 
104  int getPtn0partition_scheme_types( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
105 
113  int getPtn0tgt_partitions( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
114 
122  int getPtn0viewed_partition_scheme( tag_t &value, bool &isNull ) const;
123 
131  int getPtn0viewed_ptn_scheme_type( tag_t &value, bool &isNull ) const;
132 
140  int setPtn0partition_definitions( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
141 
149  int setPtn0partition_ids( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
150 
158  int setPtn0partition_scheme_types( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
159 
167  int setPtn0tgt_partitions( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
168 
176  int setPtn0viewed_partition_scheme( const tag_t &value, bool isNull=false );
177 
185  int setPtn0viewed_ptn_scheme_type( const tag_t &value, bool isNull=false );
186 protected:
187  // Method to initialize
188  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
189 
194 
198  virtual ~Ptn0SubsetDefaults();
199 
200 private:
201  // Getter method for the Implementation Object
202  Ptn0SubsetDefaultsImpl* getPtn0SubsetDefaultsImpl() const;
203  // Setter method for the Implementation Object
204  ::Teamcenter::RootObjectImpl* setPtn0SubsetDefaultsImpl( ::Teamcenter::RootObjectImpl* impl );
205 
206  // Method to set the delete impl boolean
207  void setDeleteImpl( bool del );
208 
209  // Pointer to the Implementation object
210  Ptn0SubsetDefaultsImpl* m_ptn0subsetdefaultsImpl;
211 
212  // Flag to indicate if Implementation object needs to be deleted
214 
218  static std::string name;
219 
226 
227  friend class Ptn0SubsetDefaultsDelegate;
228  friend class Ptn0SubsetDefaultsGenImpl;
229 };
230 
231 #include <ptn0partition/libptn0partition_undef.h>
232 #endif // TEAMCENTER__PARTITION__PTN0SUBSETDEFAULTS__HXX