Teamcenter C++ API Reference  2312
Att0MeasurableAttributeDbl.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, Att0MeasurableAttributeDbl
12  Filename: Att0MeasurableAttributeDbl.hxx
13  Module: Att0attrtargetmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEDBL__HXX
18 #define ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEDBL__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <vector>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <Att0attrtargetmgmt/libatt0attrtargetmgmt_exports.h>
27 
28 namespace att0attrtargetmgmt
29 {
30  class Att0MeasurableAttributeDbl;
31 }
32 namespace att0attrtargetmgmt
33 {
34  class Att0MeasurableAttributeDblImpl;
35 }
36 namespace att0attrtargetmgmt
37 {
38  class Att0MeasurableAttributeDblDelegate;
39 }
40 namespace att0attrtargetmgmt
41 {
42  class Att0MeasurableAttributeDblDispatch;
43 }
44 namespace att0attrtargetmgmt
45 {
46  class Att0MeasurableAttributeDblGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class ATT0ATTRTARGETMGMT_API att0attrtargetmgmt::Att0MeasurableAttributeDbl
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getAtt0CurrentValue( tag_t &value, bool &isNull ) const;
73 
81  int getAtt0DisplayGoal( std::string &value, bool &isNull ) const;
82 
90  int getAtt0DisplayMax( std::string &value, bool &isNull ) const;
91 
99  int getAtt0DisplayMin( std::string &value, bool &isNull ) const;
100 
107  int getAtt0GoalDisplayableValues( std::vector< std::string > &values );
108 
115  int getAtt0MaxDisplayableValues( std::vector< std::string > &values );
116 
124  int getAtt0Measurement( tag_t &value, bool &isNull ) const;
125 
132  int getAtt0MinDisplayableValues( std::vector< std::string > &values );
133 
141  int setAtt0Goal( double value, bool isNull=false );
142 
150  int setAtt0Max( double value, bool isNull=false );
151 
159  int setAtt0Min( double value, bool isNull=false );
160 protected:
161  // Method to initialize
162  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
163 
168 
172  virtual ~Att0MeasurableAttributeDbl();
173 
174 private:
175  // Getter method for the Implementation Object
176  Att0MeasurableAttributeDblImpl* getAtt0MeasurableAttributeDblImpl() const;
177  // Setter method for the Implementation Object
178  ::Teamcenter::RootObjectImpl* setAtt0MeasurableAttributeDblImpl( ::Teamcenter::RootObjectImpl* impl );
179 
180  // Method to set the delete impl boolean
181  void setDeleteImpl( bool del );
182 
183  // Pointer to the Implementation object
184  Att0MeasurableAttributeDblImpl* m_att0measurableattributedblImpl;
185 
186  // Flag to indicate if Implementation object needs to be deleted
188 
192  static std::string name;
193 
200 
201  friend class Att0MeasurableAttributeDblDelegate;
202  friend class Att0MeasurableAttributeDblGenImpl;
203 };
204 
205 #include <Att0attrtargetmgmt/libatt0attrtargetmgmt_undef.h>
206 #endif // ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEDBL__HXX