Teamcenter C++ API Reference  2312
Att0MeasurableAttributeStr.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, Att0MeasurableAttributeStr
12  Filename: Att0MeasurableAttributeStr.hxx
13  Module: Att0attrtargetmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTESTR__HXX
18 #define ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTESTR__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 Att0MeasurableAttributeStr;
31 }
32 namespace att0attrtargetmgmt
33 {
34  class Att0MeasurableAttributeStrImpl;
35 }
36 namespace att0attrtargetmgmt
37 {
38  class Att0MeasurableAttributeStrDelegate;
39 }
40 namespace att0attrtargetmgmt
41 {
42  class Att0MeasurableAttributeStrDispatch;
43 }
44 namespace att0attrtargetmgmt
45 {
46  class Att0MeasurableAttributeStrGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class ATT0ATTRTARGETMGMT_API att0attrtargetmgmt::Att0MeasurableAttributeStr
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 
89  int getAtt0GoalDisplayableValues( std::vector< std::string > &values );
90 
97  int getAtt0MaxDisplayableValues( std::vector< std::string > &values );
98 
106  int getAtt0Measurement( tag_t &value, bool &isNull ) const;
107 
114  int getAtt0MinDisplayableValues( std::vector< std::string > &values );
115 
123  int setAtt0Goal( const std::string &value, bool isNull=false );
124 protected:
125  // Method to initialize
126  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
127 
132 
136  virtual ~Att0MeasurableAttributeStr();
137 
138 private:
139  // Getter method for the Implementation Object
140  Att0MeasurableAttributeStrImpl* getAtt0MeasurableAttributeStrImpl() const;
141  // Setter method for the Implementation Object
142  ::Teamcenter::RootObjectImpl* setAtt0MeasurableAttributeStrImpl( ::Teamcenter::RootObjectImpl* impl );
143 
144  // Method to set the delete impl boolean
145  void setDeleteImpl( bool del );
146 
147  // Pointer to the Implementation object
148  Att0MeasurableAttributeStrImpl* m_att0measurableattributestrImpl;
149 
150  // Flag to indicate if Implementation object needs to be deleted
152 
156  static std::string name;
157 
164 
165  friend class Att0MeasurableAttributeStrDelegate;
166  friend class Att0MeasurableAttributeStrGenImpl;
167 };
168 
169 #include <Att0attrtargetmgmt/libatt0attrtargetmgmt_undef.h>
170 #endif // ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTESTR__HXX