20 #ifndef Model_AttributeBoolean_H_
21 #define Model_AttributeBoolean_H_
24 #include "ModelAPI_AttributeBoolean.h"
25 #include <TDataStd_Integer.hxx>
26 #include <TDF_Label.hxx>
35 Handle_TDataStd_Integer myBool;
39 MODEL_EXPORT
virtual void setValue(
bool theValue);
42 MODEL_EXPORT
virtual bool value();
Attribute that contains boolean value.
Definition: ModelAPI_AttributeBoolean.h:31
Attribute that contains real value with double precision.
Definition: Model_AttributeBoolean.h:34
virtual void reinit()
Reinitializes the internal state of the attribute (may be needed on undo/redo, abort,...
Definition: Model_AttributeBoolean.cpp:46
virtual bool value()
Returns the double value.
Definition: Model_AttributeBoolean.cpp:35
Model_AttributeBoolean(TDF_Label &theLabel)
Initializes attibutes.
Definition: Model_AttributeBoolean.cpp:40
virtual void setValue(bool theValue)
Defines the double value.
Definition: Model_AttributeBoolean.cpp:24
General object of the application that allows to get/set attributes from the document and compute res...
Definition: Model_Data.h:61