Teamcenter C++ API Reference  2312
Att0MeasurableAttributeBool.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, Att0MeasurableAttributeBool
12  Filename: Att0MeasurableAttributeBool.hxx
13  Module: Att0attrtargetmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEBOOL__HXX
18 #define ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEBOOL__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 Att0MeasurableAttributeBool;
31 }
32 namespace att0attrtargetmgmt
33 {
34  class Att0MeasurableAttributeBoolImpl;
35 }
36 namespace att0attrtargetmgmt
37 {
38  class Att0MeasurableAttributeBoolDelegate;
39 }
40 namespace att0attrtargetmgmt
41 {
42  class Att0MeasurableAttributeBoolDispatch;
43 }
44 namespace att0attrtargetmgmt
45 {
46  class Att0MeasurableAttributeBoolGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class ATT0ATTRTARGETMGMT_API att0attrtargetmgmt::Att0MeasurableAttributeBool
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 
98  int getAtt0Measurement( tag_t &value, bool &isNull ) const;
99 
107  int setAtt0Goal( bool value, bool isNull=false );
108 protected:
109  // Method to initialize
110  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
111 
116 
121 
122 private:
123  // Getter method for the Implementation Object
124  Att0MeasurableAttributeBoolImpl* getAtt0MeasurableAttributeBoolImpl() const;
125  // Setter method for the Implementation Object
126  ::Teamcenter::RootObjectImpl* setAtt0MeasurableAttributeBoolImpl( ::Teamcenter::RootObjectImpl* impl );
127 
128  // Method to set the delete impl boolean
129  void setDeleteImpl( bool del );
130 
131  // Pointer to the Implementation object
132  Att0MeasurableAttributeBoolImpl* m_att0measurableattributeboolImpl;
133 
134  // Flag to indicate if Implementation object needs to be deleted
136 
140  static std::string name;
141 
148 
149  friend class Att0MeasurableAttributeBoolDelegate;
150  friend class Att0MeasurableAttributeBoolGenImpl;
151 };
152 
153 #include <Att0attrtargetmgmt/libatt0attrtargetmgmt_undef.h>
154 #endif // ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEBOOL__HXX