1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: Model_AttributeBoolean.h
4 // Created: 2 june 2014
5 // Author: Vitaly Smetannikov
7 #ifndef Model_AttributeBoolean_H_
8 #define Model_AttributeBoolean_H_
11 #include "ModelAPI_AttributeBoolean.h"
12 #include <TDataStd_Integer.hxx>
13 #include <TDF_Label.hxx>
15 /**\class Model_AttributeBoolean
17 * \brief Attribute that contains real value with double precision.
20 class Model_AttributeBoolean : public ModelAPI_AttributeBoolean
22 Handle_TDataStd_Integer myBool; ///< double is Real attribute
24 /// Defines the double value
25 MODEL_EXPORT virtual void setValue(bool theValue);
27 /// Returns the double value
28 MODEL_EXPORT virtual bool value();
31 /// Initializes attibutes
32 Model_AttributeBoolean(TDF_Label& theLabel);
34 friend class Model_Data;