Teamcenter C++ API Reference  2312
ParmDef.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, ParmDef
12  Filename: ParmDef.hxx
13  Module: ccdm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CCDM__PARMDEF__HXX
18 #define CCDM__PARMDEF__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/Item.hxx>
24 
25 #include <ccdm/libccdm_exports.h>
26 
27 namespace ccdm
28 {
29  class ParmDef;
30 }
31 namespace ccdm
32 {
33  class ParmDefImpl;
34 }
35 namespace ccdm
36 {
37  class ParmDefDelegate;
38 }
39 namespace ccdm
40 {
41  class ParmDefDispatch;
42 }
43 namespace ccdm
44 {
45  class ParmDefGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class CCDM_API ccdm::ParmDef
53  : public ::Teamcenter::Item
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getAdditionalData( tag_t &value, bool &isNull ) const;
72 
80  int getComment( std::string &value, bool &isNull ) const;
81 
89  int getParmType( std::string &value, bool &isNull ) const;
90 
98  int setAdditionalData( const tag_t &value, bool isNull=false );
99 
107  int setComment( const std::string &value, bool isNull=false );
108 
116  int setParmType( const std::string &value, bool isNull=false );
117 protected:
118  // Method to initialize
119  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
120 
124  ParmDef();
125 
129  virtual ~ParmDef();
130 
131 private:
132  // Getter method for the Implementation Object
133  ParmDefImpl* getParmDefImpl() const;
134  // Setter method for the Implementation Object
135  ::Teamcenter::RootObjectImpl* setParmDefImpl( ::Teamcenter::RootObjectImpl* impl );
136 
137  // Method to set the delete impl boolean
138  void setDeleteImpl( bool del );
139 
140  // Pointer to the Implementation object
141  ParmDefImpl* m_parmdefImpl;
142 
143  // Flag to indicate if Implementation object needs to be deleted
145 
149  static std::string name;
150 
155  ParmDef( const ParmDef& );
156  ParmDef& operator=( const ParmDef& );
157 
158  friend class ParmDefDelegate;
159  friend class ParmDefGenImpl;
160 };
161 
162 #include <ccdm/libccdm_undef.h>
163 #endif // CCDM__PARMDEF__HXX