Teamcenter C++ API Reference  2312
ParmDefRevision.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, ParmDefRevision
12  Filename: ParmDefRevision.hxx
13  Module: ccdm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CCDM__PARMDEFREVISION__HXX
18 #define CCDM__PARMDEFREVISION__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/ItemRevision.hxx>
24 
25 #include <ccdm/libccdm_exports.h>
26 
27 namespace ccdm
28 {
29  class ParmDefRevision;
30 }
31 namespace ccdm
32 {
33  class ParmDefRevisionImpl;
34 }
35 namespace ccdm
36 {
37  class ParmDefRevisionDelegate;
38 }
39 namespace ccdm
40 {
41  class ParmDefRevisionDispatch;
42 }
43 namespace ccdm
44 {
45  class ParmDefRevisionGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class CCDM_API ccdm::ParmDefRevision
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getCcd0ConversionRule( tag_t &value, bool &isNull ) const;
72 
80  int getComment( std::string &value, bool &isNull ) const;
81 
89  int getControlEngineer( tag_t &value, bool &isNull ) const;
90 
98  int getParmDescriptor( std::string &value, bool &isNull ) const;
99 
107  int getSize( int &value, bool &isNull ) const;
108 
116  int getSizeUnits( std::string &value, bool &isNull ) const;
117 
125  int getUserData( tag_t &value, bool &isNull ) const;
126 
134  int setCcd0ConversionRule( const tag_t &value, bool isNull=false );
135 
143  int setComment( const std::string &value, bool isNull=false );
144 
152  int setControlEngineer( const tag_t &value, bool isNull=false );
153 
161  int setParmDescriptor( const std::string &value, bool isNull=false );
162 
170  int setSize( int value, bool isNull=false );
171 
179  int setSizeUnits( const std::string &value, bool isNull=false );
180 
188  int setUserData( const tag_t &value, bool isNull=false );
189 protected:
190  // Method to initialize
191  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
192 
196  ParmDefRevision();
197 
201  virtual ~ParmDefRevision();
202 
203 private:
204  // Getter method for the Implementation Object
205  ParmDefRevisionImpl* getParmDefRevisionImpl() const;
206  // Setter method for the Implementation Object
207  ::Teamcenter::RootObjectImpl* setParmDefRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
208 
209  // Method to set the delete impl boolean
210  void setDeleteImpl( bool del );
211 
212  // Pointer to the Implementation object
213  ParmDefRevisionImpl* m_parmdefrevisionImpl;
214 
215  // Flag to indicate if Implementation object needs to be deleted
217 
221  static std::string name;
222 
229 
230  friend class ParmDefRevisionDelegate;
231  friend class ParmDefRevisionGenImpl;
232 };
233 
234 #include <ccdm/libccdm_undef.h>
235 #endif // CCDM__PARMDEFREVISION__HXX