Teamcenter C++ API Reference  2312
CPSpecSection.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //
4 //Copyright $2023.
5 //Siemens Product Lifecycle Management Software Inc.
6 //All Rights Reserved.
7 //==================================================
8 //Copyright 2022 Siemens Digital Industries Software
9 
10 /*==================================================================================================
11 File description:
12  This file contains the declaration for the Business Object, CPSpecSection
13  Filename: CPSpecSection.hxx
14  Module: specmgr
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef TEAMCENTER__SPECMGR__CPSPECSECTION__HXX
19 #define TEAMCENTER__SPECMGR__CPSPECSECTION__HXX
20 
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
23 #include <req/SpecElement.hxx>
24 
25 #include <specmgr/libspecmgr_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace SPECMGR
30  {
31  class CPSpecSection;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace SPECMGR
37  {
38  class CPSpecSectionImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace SPECMGR
44  {
45  class CPSpecSectionDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace SPECMGR
51  {
52  class CPSpecSectionDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace SPECMGR
58  {
59  class CPSpecSectionGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class SPECMGR_API Teamcenter::SPECMGR::CPSpecSection
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getParent_specification( tag_t &value, bool &isNull ) const;
87 
95  int setParent_specification( const tag_t &value, bool isNull=false );
96 protected:
97  // Method to initialize
98  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
99 
103  CPSpecSection();
104 
108  virtual ~CPSpecSection();
109 
110 private:
111  // Getter method for the Implementation Object
112  CPSpecSectionImpl* getCPSpecSectionImpl() const;
113  // Setter method for the Implementation Object
114  ::Teamcenter::RootObjectImpl* setCPSpecSectionImpl( ::Teamcenter::RootObjectImpl* impl );
115 
116  // Method to set the delete impl boolean
117  void setDeleteImpl( bool del );
118 
119  // Pointer to the Implementation object
120  CPSpecSectionImpl* m_cpspecsectionImpl;
121 
122  // Flag to indicate if Implementation object needs to be deleted
124 
128  static std::string name;
129 
134  CPSpecSection( const CPSpecSection& );
136 
137  friend class CPSpecSectionDelegate;
138  friend class CPSpecSectionGenImpl;
139 };
140 
141 #include <specmgr/libspecmgr_undef.h>
142 #endif // TEAMCENTER__SPECMGR__CPSPECSECTION__HXX