20 #ifndef PlaneGCSSolver_ScalarArrayWrapper_H_
21 #define PlaneGCSSolver_ScalarArrayWrapper_H_
23 #include <PlaneGCSSolver_Defs.h>
24 #include <PlaneGCSSolver_EntityWrapper.h>
43 virtual SketchSolver_EntityType
type()
const
44 {
return ENTITY_SCALAR_ARRAY; }
49 virtual bool update(std::shared_ptr<ModelAPI_Attribute> theAttribute);
55 typedef std::shared_ptr<PlaneGCSSolver_ScalarArrayWrapper> ScalarArrayWrapperPtr;
Wrapper providing operations with entities regardless the solver.
Definition: PlaneGCSSolver_EntityWrapper.h:37
Wrapper providing operations with array of PlaneGCS scalars.
Definition: PlaneGCSSolver_ScalarArrayWrapper.h:30
const GCS::VEC_pD & array() const
Return array of PlaneGCS parameters.
Definition: PlaneGCSSolver_ScalarArrayWrapper.h:38
virtual SketchSolver_EntityType type() const
Return type of current entity.
Definition: PlaneGCSSolver_ScalarArrayWrapper.h:43
void setArray(const GCS::VEC_pD &theParams)
\breif Set array of parameters
Definition: PlaneGCSSolver_ScalarArrayWrapper.h:40
GCS::VEC_pD myValue
list of pointers to values provided by the storage
Definition: PlaneGCSSolver_ScalarArrayWrapper.h:52
virtual bool update(std::shared_ptr< ModelAPI_Attribute > theAttribute)
Update entity by the values of theAttribute.
Definition: PlaneGCSSolver_ScalarArrayWrapper.cpp:28
int size() const
\breif Size of array
Definition: PlaneGCSSolver_ScalarArrayWrapper.h:35