Teamcenter C++ API Reference  2312
CPSpecification.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, CPSpecification
13  Filename: CPSpecification.hxx
14  Module: specmgr
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef TEAMCENTER__SPECMGR__CPSPECIFICATION__HXX
19 #define TEAMCENTER__SPECMGR__CPSPECIFICATION__HXX
20 
21 #include <string>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
24 #include <tccore/Document.hxx>
25 
26 #include <specmgr/libspecmgr_exports.h>
27 
28 namespace Teamcenter
29 {
30  namespace SPECMGR
31  {
32  class CPSpecification;
33  }
34 }
35 namespace Teamcenter
36 {
37  namespace SPECMGR
38  {
39  class CPSpecificationImpl;
40  }
41 }
42 namespace Teamcenter
43 {
44  namespace SPECMGR
45  {
46  class CPSpecificationDelegate;
47  }
48 }
49 namespace Teamcenter
50 {
51  namespace SPECMGR
52  {
53  class CPSpecificationDispatch;
54  }
55 }
56 namespace Teamcenter
57 {
58  namespace SPECMGR
59  {
60  class CPSpecificationGenImpl;
61  }
62 }
63 namespace Teamcenter
64 {
65  class RootObjectImpl;
66 }
67 
68 class SPECMGR_API Teamcenter::SPECMGR::CPSpecification
69  : public ::Teamcenter::Document
70 {
71 public:
72 
77  static const std::string& getInterfaceName();
78 
79 
87  int getAuthoring_system( std::string &value, bool &isNull ) const;
88 
96  int getSpec_type( tag_t &value, bool &isNull ) const;
97 
105  int setAuthoring_system( const std::string &value, bool isNull=false );
106 
114  int setSpec_type( const tag_t &value, bool isNull=false );
115 protected:
116  // Method to initialize
117  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
118 
122  CPSpecification();
123 
127  virtual ~CPSpecification();
128 
129 private:
130  // Getter method for the Implementation Object
131  CPSpecificationImpl* getCPSpecificationImpl() const;
132  // Setter method for the Implementation Object
133  ::Teamcenter::RootObjectImpl* setCPSpecificationImpl( ::Teamcenter::RootObjectImpl* impl );
134 
135  // Method to set the delete impl boolean
136  void setDeleteImpl( bool del );
137 
138  // Pointer to the Implementation object
139  CPSpecificationImpl* m_cpspecificationImpl;
140 
141  // Flag to indicate if Implementation object needs to be deleted
143 
147  static std::string name;
148 
155 
156  friend class CPSpecificationDelegate;
157  friend class CPSpecificationGenImpl;
158 };
159 
160 #include <specmgr/libspecmgr_undef.h>
161 #endif // TEAMCENTER__SPECMGR__CPSPECIFICATION__HXX