Teamcenter C++ API Reference  2312
CPKeyword.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, CPKeyword
13  Filename: CPKeyword.hxx
14  Module: specmgr
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef TEAMCENTER__SPECMGR__CPKEYWORD__HXX
19 #define TEAMCENTER__SPECMGR__CPKEYWORD__HXX
20 
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <specmgr/libspecmgr_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace SPECMGR
30  {
31  class CPKeyword;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace SPECMGR
37  {
38  class CPKeywordImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace SPECMGR
44  {
45  class CPKeywordDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace SPECMGR
51  {
52  class CPKeywordDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace SPECMGR
58  {
59  class CPKeywordGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class SPECMGR_API Teamcenter::SPECMGR::CPKeyword
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getIs_fixed( bool &value, bool &isNull ) const;
87 
95  int getKeyword_value( std::string &value, bool &isNull ) const;
96 
104  int setIs_fixed( bool value, bool isNull=false );
105 
113  int setKeyword_value( const std::string &value, bool isNull=false );
114 protected:
115  // Method to initialize
116  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
117 
121  CPKeyword();
122 
126  virtual ~CPKeyword();
127 
128 private:
129  // Getter method for the Implementation Object
130  CPKeywordImpl* getCPKeywordImpl() const;
131  // Setter method for the Implementation Object
132  ::Teamcenter::RootObjectImpl* setCPKeywordImpl( ::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  CPKeywordImpl* m_cpkeywordImpl;
139 
140  // Flag to indicate if Implementation object needs to be deleted
142 
146  static std::string name;
147 
152  CPKeyword( const CPKeyword& );
153  CPKeyword& operator=( const CPKeyword& );
154 
155  friend class CPKeywordDelegate;
156  friend class CPKeywordGenImpl;
157 };
158 
159 #include <specmgr/libspecmgr_undef.h>
160 #endif // TEAMCENTER__SPECMGR__CPKEYWORD__HXX