Teamcenter C++ API Reference  2312
Mat1ParameterDouble.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, Mat1ParameterDouble
12  Filename: Mat1ParameterDouble.hxx
13  Module: mat1materialmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef MATERIALMGMT__MAT1PARAMETERDOUBLE__HXX
18 #define MATERIALMGMT__MAT1PARAMETERDOUBLE__HXX
19 
20 #include <unidefs.h>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <mat1materialmgmt/libmat1materialmgmt_exports.h>
25 
26 namespace materialmgmt
27 {
28  class Mat1ParameterDouble;
29 }
30 namespace materialmgmt
31 {
32  class Mat1ParameterDoubleImpl;
33 }
34 namespace materialmgmt
35 {
36  class Mat1ParameterDoubleDelegate;
37 }
38 namespace materialmgmt
39 {
40  class Mat1ParameterDoubleDispatch;
41 }
42 namespace materialmgmt
43 {
44  class Mat1ParameterDoubleGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class MAT1MATERIALMGMT_API materialmgmt::Mat1ParameterDouble
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getMat1SessionUnit( tag_t &value, bool &isNull ) const;
71 
79  int getMat1SessionUnitAlias( tag_t &value, bool &isNull ) const;
80 
88  int getMat1SessionValue( double &value, bool &isNull ) const;
89 
97  int getMat1SessionValueMax( double &value, bool &isNull ) const;
98 
106  int setMat1SessionUnit( const tag_t &value, bool isNull=false );
107 
115  int setMat1SessionUnitAlias( const tag_t &value, bool isNull=false );
116 
124  int setMat1SessionValue( double value, bool isNull=false );
125 
133  int setMat1SessionValueMax( double value, bool isNull=false );
134 protected:
135  // Method to initialize
136  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
137 
142 
146  virtual ~Mat1ParameterDouble();
147 
148 private:
149  // Getter method for the Implementation Object
150  Mat1ParameterDoubleImpl* getMat1ParameterDoubleImpl() const;
151  // Setter method for the Implementation Object
152  ::Teamcenter::RootObjectImpl* setMat1ParameterDoubleImpl( ::Teamcenter::RootObjectImpl* impl );
153 
154  // Method to set the delete impl boolean
155  void setDeleteImpl( bool del );
156 
157  // Pointer to the Implementation object
158  Mat1ParameterDoubleImpl* m_mat1parameterdoubleImpl;
159 
160  // Flag to indicate if Implementation object needs to be deleted
162 
166  static std::string name;
167 
174 
175  friend class Mat1ParameterDoubleDelegate;
176  friend class Mat1ParameterDoubleGenImpl;
177 };
178 
179 #include <mat1materialmgmt/libmat1materialmgmt_undef.h>
180 #endif // MATERIALMGMT__MAT1PARAMETERDOUBLE__HXX