|
SHAPER 9.16.0
|
Wrapper providing operations with entities regardless the solver. More...
#include <PlaneGCSSolver_EntityWrapper.h>

Public Member Functions | |
| virtual SketchSolver_EntityType | type () const =0 |
| Return type of current entity. More... | |
| void | setExternal (bool theExternal) |
| Change flag indicating the entity cannot be changed in the solver. More... | |
| bool | isExternal () const |
| Return the External flag. More... | |
| void | setAdditionalAttributes (const std::map< std::string, EntityWrapperPtr > &theAttribues) |
| Store names of attributes and their values if necessary. More... | |
| const std::map< std::string, EntityWrapperPtr > & | additionalAttributes () const |
| Return the list of additional attributes. More... | |
Protected Member Functions | |
| virtual bool | update (std::shared_ptr< ModelAPI_Attribute > theAttribute) |
| Update entity by the values of theAttribute. More... | |
Friends | |
| class | PlaneGCSSolver_AttributeBuilder |
Wrapper providing operations with entities regardless the solver.
|
pure virtual |
Return type of current entity.
Implemented in PlaneGCSSolver_BooleanWrapper, PlaneGCSSolver_EdgeWrapper, PlaneGCSSolver_PointArrayWrapper, PlaneGCSSolver_PointWrapper, PlaneGCSSolver_ScalarArrayWrapper, and PlaneGCSSolver_ScalarWrapper.
|
inline |
Change flag indicating the entity cannot be changed in the solver.
|
inline |
Return the External flag.
|
inline |
Store names of attributes and their values if necessary.
|
inline |
Return the list of additional attributes.
|
inlineprotectedvirtual |
Update entity by the values of theAttribute.
true if any value of attribute is not equal to the stored in the entity Reimplemented in PlaneGCSSolver_BooleanWrapper, PlaneGCSSolver_PointArrayWrapper, PlaneGCSSolver_PointWrapper, PlaneGCSSolver_ScalarArrayWrapper, and PlaneGCSSolver_ScalarWrapper.