1 // File: Model_AttributeBoolean.h
2 // Created: 2 june 2014
3 // Author: Vitaly Smetannikov
5 #ifndef Model_AttributeBoolean_H_
6 #define Model_AttributeBoolean_H_
9 #include "ModelAPI_AttributeBoolean.h"
10 #include <TDataStd_Integer.hxx>
11 #include <TDF_Label.hxx>
13 /**\class Model_AttributeBoolean
15 * \brief Attribute that contains real value with double precision.
18 class Model_AttributeBoolean : public ModelAPI_AttributeBoolean
20 Handle_TDataStd_Integer myBool; ///< double is Real attribute
22 /// Defines the double value
23 MODEL_EXPORT virtual void setValue(bool theValue);
25 /// Returns the double value
26 MODEL_EXPORT virtual bool value();
29 /// Initializes attibutes
30 Model_AttributeBoolean(TDF_Label& theLabel);
32 friend class Model_Data;