20 #ifndef PlaneGCSSolver_BooleanWrapper_H_
21 #define PlaneGCSSolver_BooleanWrapper_H_
23 #include <PlaneGCSSolver_Defs.h>
24 #include <PlaneGCSSolver_EntityWrapper.h>
36 { myValue = theValue; }
42 virtual SketchSolver_EntityType
type()
const
43 {
return ENTITY_BOOLEAN; }
48 virtual bool update(std::shared_ptr<ModelAPI_Attribute> theAttribute);
54 typedef std::shared_ptr<PlaneGCSSolver_BooleanWrapper> BooleanWrapperPtr;
Wrapper providing storage for boolean values.
Definition: PlaneGCSSolver_BooleanWrapper.h:30
bool value() const
Return value of parameter.
Definition: PlaneGCSSolver_BooleanWrapper.h:38
virtual bool update(std::shared_ptr< ModelAPI_Attribute > theAttribute)
Update entity by the values of theAttribute.
Definition: PlaneGCSSolver_BooleanWrapper.cpp:29
void setValue(bool theValue)
Change value of parameter.
Definition: PlaneGCSSolver_BooleanWrapper.h:35
virtual SketchSolver_EntityType type() const
Return type of current entity.
Definition: PlaneGCSSolver_BooleanWrapper.h:42
Wrapper providing operations with entities regardless the solver.
Definition: PlaneGCSSolver_EntityWrapper.h:37