SHAPER
9.12.0
|
Wrapper providing operations with entities regardless the solver. More...
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_ScalarWrapper, PlaneGCSSolver_ScalarArrayWrapper, PlaneGCSSolver_PointWrapper, PlaneGCSSolver_PointArrayWrapper, PlaneGCSSolver_EdgeWrapper, and PlaneGCSSolver_BooleanWrapper.
|
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_ScalarWrapper, PlaneGCSSolver_ScalarArrayWrapper, PlaneGCSSolver_PointWrapper, PlaneGCSSolver_PointArrayWrapper, and PlaneGCSSolver_BooleanWrapper.