|
SHAPER
9.15.0
|
Expression for calculated double values. More...

Public Member Functions | |
| virtual void | setValue (const double theValue)=0 |
| Defines the double value. More... | |
| virtual double | value ()=0 |
| Returns the double value. More... | |
| virtual bool | isInitialized () |
| Returns true if attribute was initialized by some value. More... | |
| virtual void | setInitialized () |
| Makes attribute initialized. More... | |
| virtual void | setText (const std::wstring &theText)=0 |
| Sets the text of this Expression. More... | |
| virtual std::wstring | text () const =0 |
| Returns the text of this Expression. More... | |
| virtual void | setInvalid (const bool theFlag)=0 |
| Allows to set expression (text) as invalid (by the parameters listener) More... | |
| virtual bool | isInvalid ()=0 |
| Returns true if text is invalid. More... | |
| virtual void | setError (const std::string &theError)=0 |
| Allows to set expression (text) error (by the parameters listener) More... | |
| virtual std::string | error ()=0 |
| Returns an expression error. More... | |
| virtual void | setUsedParameters (const std::set< std::wstring > &theUsedParameters)=0 |
| Defines the used parameters (by the parameters listener) More... | |
| virtual std::set< std::wstring > | usedParameters () const =0 |
| Returns the used parameters. More... | |
Static Public Member Functions | |
| static bool | isVariable (const std::string &theString) |
| Returns True if the given string can be defined as a name of an expression variable. More... | |
| static bool | isVariable (const std::wstring &theString) |
| Returns True if the given string can be defined as a name of an expression variable. More... | |
Protected Member Functions | |
| ModelAPI_ExpressionDouble () | |
| Objects are created for features automatically. More... | |
| virtual void | reinit ()=0 |
| Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc) More... | |
| virtual void | reset () |
| Resets attribute to default state. More... | |
Protected Attributes | |
| bool | myIsInitialized |
| is some value assigned to this attribute More... | |
Friends | |
| class | Model_Data |
Expression for calculated double values.
|
protected |
Objects are created for features automatically.
|
pure virtual |
Defines the double value.
Implemented in Model_ExpressionDouble.
|
pure virtual |
Returns the double value.
Implemented in Model_ExpressionDouble.
|
virtualinherited |
Returns true if attribute was initialized by some value.
|
virtualinherited |
Makes attribute initialized.
|
pure virtualinherited |
Sets the text of this Expression.
Implemented in Model_ExpressionInteger, Model_ExpressionDouble, and Model_Expression.
|
pure virtualinherited |
Returns the text of this Expression.
Implemented in Model_ExpressionInteger, Model_ExpressionDouble, and Model_Expression.
|
pure virtualinherited |
Allows to set expression (text) as invalid (by the parameters listener)
Implemented in Model_ExpressionInteger, and Model_ExpressionDouble.
|
pure virtualinherited |
Returns true if text is invalid.
Implemented in Model_ExpressionInteger, and Model_ExpressionDouble.
|
pure virtualinherited |
Allows to set expression (text) error (by the parameters listener)
Implemented in Model_ExpressionInteger, Model_ExpressionDouble, and Model_Expression.
|
pure virtualinherited |
Returns an expression error.
Implemented in Model_ExpressionInteger, Model_ExpressionDouble, and Model_Expression.
|
pure virtualinherited |
Defines the used parameters (by the parameters listener)
Implemented in Model_ExpressionInteger, Model_ExpressionDouble, and Model_Expression.
|
pure virtualinherited |
Returns the used parameters.
Implemented in Model_ExpressionInteger, Model_ExpressionDouble, and Model_Expression.
|
staticinherited |
Returns True if the given string can be defined as a name of an expression variable.
|
staticinherited |
Returns True if the given string can be defined as a name of an expression variable.
|
protectedpure virtualinherited |
Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
Implemented in Model_ExpressionInteger, and Model_ExpressionDouble.
|
inlineprotectedvirtualinherited |
Resets attribute to default state.
|
protectedinherited |
is some value assigned to this attribute