Teamcenter C++ API Reference  2312
Ptn0PartitionLine.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, Ptn0PartitionLine
12  Filename: Ptn0PartitionLine.hxx
13  Module: ptn0partition
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__PARTITION__PTN0PARTITIONLINE__HXX
18 #define TEAMCENTER__PARTITION__PTN0PARTITIONLINE__HXX
19 
20 #include <vector>
21 #include <common/tc_deprecation_macros.h>
22 #include <bom/BOMLine.hxx>
23 
24 #include <ptn0partition/libptn0partition_exports.h>
25 
26 namespace Teamcenter
27 {
28  namespace Partition
29  {
30  class Ptn0PartitionLine;
31  }
32 }
33 namespace Teamcenter
34 {
35  namespace Partition
36  {
37  class Ptn0PartitionLineImpl;
38  }
39 }
40 namespace Teamcenter
41 {
42  namespace Partition
43  {
44  class Ptn0PartitionLineDelegate;
45  }
46 }
47 namespace Teamcenter
48 {
49  namespace Partition
50  {
51  class Ptn0PartitionLineDispatch;
52  }
53 }
54 namespace Teamcenter
55 {
56  namespace Partition
57  {
58  class Ptn0PartitionLineGenImpl;
59  }
60 }
61 namespace Teamcenter
62 {
63  class RootObjectImpl;
64 }
65 
66 class PTN0PARTITION_API Teamcenter::Partition::Ptn0PartitionLine
67  : public ::Teamcenter::BOMLine
68 {
69 public:
70 
75  static const std::string& getInterfaceName();
76 
77 
85  int getPtn0ChildPartitionCount( int &value, bool &isNull ) const;
86 
94  int getPtn0Members( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
95 protected:
96  // Method to initialize
97  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
98 
103 
107  virtual ~Ptn0PartitionLine();
108 
109 private:
110  // Getter method for the Implementation Object
111  Ptn0PartitionLineImpl* getPtn0PartitionLineImpl() const;
112  // Setter method for the Implementation Object
113  ::Teamcenter::RootObjectImpl* setPtn0PartitionLineImpl( ::Teamcenter::RootObjectImpl* impl );
114 
115  // Method to set the delete impl boolean
116  void setDeleteImpl( bool del );
117 
118  // Pointer to the Implementation object
119  Ptn0PartitionLineImpl* m_ptn0partitionlineImpl;
120 
121  // Flag to indicate if Implementation object needs to be deleted
123 
127  static std::string name;
128 
135 
136  friend class Ptn0PartitionLineDelegate;
137  friend class Ptn0PartitionLineGenImpl;
138 };
139 
140 #include <ptn0partition/libptn0partition_undef.h>
141 #endif // TEAMCENTER__PARTITION__PTN0PARTITIONLINE__HXX