Teamcenter C++ API Reference  2312
ReqNumberExp.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, ReqNumberExp
12  Filename: ReqNumberExp.hxx
13  Module: validation
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__REQNUMBEREXP__HXX
18 #define TEAMCENTER__REQNUMBEREXP__HXX
19 
20 #include <common/tc_deprecation_macros.h>
22 
23 #include <validation/libvalidation_exports.h>
24 
25 namespace Teamcenter
26 {
27  class ReqNumberExp;
28 }
29 namespace Teamcenter
30 {
31  class ReqNumberExpImpl;
32 }
33 namespace Teamcenter
34 {
35  class ReqNumberExpDelegate;
36 }
37 namespace Teamcenter
38 {
39  class ReqNumberExpDispatch;
40 }
41 namespace Teamcenter
42 {
43  class ReqNumberExpGenImpl;
44 }
45 namespace Teamcenter
46 {
47  class RootObjectImpl;
48 }
49 
50 class VALIDATION_API Teamcenter::ReqNumberExp
52 {
53 public:
54 
59  static const std::string& getInterfaceName();
60 
61 
69  int getMeasure( int &value, bool &isNull ) const;
70 
78  int getUnit( int &value, bool &isNull ) const;
79 
87  int setMeasure( int value, bool isNull=false );
88 
96  int setUnit( int value, bool isNull=false );
97 protected:
98  // Method to initialize
99  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
100 
104  ReqNumberExp();
105 
109  virtual ~ReqNumberExp();
110 
111 private:
112  // Getter method for the Implementation Object
113  ReqNumberExpImpl* getReqNumberExpImpl() const;
114  // Setter method for the Implementation Object
115  ::Teamcenter::RootObjectImpl* setReqNumberExpImpl( ::Teamcenter::RootObjectImpl* impl );
116 
117  // Method to set the delete impl boolean
118  void setDeleteImpl( bool del );
119 
120  // Pointer to the Implementation object
121  ReqNumberExpImpl* m_reqnumberexpImpl;
122 
123  // Flag to indicate if Implementation object needs to be deleted
125 
129  static std::string name;
130 
135  ReqNumberExp( const ReqNumberExp& );
137 
138  friend class ReqNumberExpDelegate;
139  friend class ReqNumberExpGenImpl;
140 };
141 
142 #include <validation/libvalidation_undef.h>
143 #endif // TEAMCENTER__REQNUMBEREXP__HXX