|
| | WsfVariable ()=default |
| | WsfVariable (const T &aInitialValue) |
| | WsfVariable (const WsfVariable< T > &)=default |
| | operator T () const |
| T | GetValue () const |
| WsfVariable< T > & | operator= (const T &aRhs) |
| WsfVariable< T > & | operator= (const WsfVariable< T > &aRhs) |
| T | operator+ (const T &aRhs) const |
| T | operator- (const T &aRhs) const |
| T & | operator+= (const T &aRhs) |
| T & | operator-= (const T &aRhs) |
| bool | Initialize (const std::string &aName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, WsfScriptContext &aGlobalContext) |
| void | ReadValue (UtInput &aInput) |
| | Read a non-unitary value from an input stream.
|
| void | ReadValueOfType (UtInput &aInput, UtInput::ValueType aType) |
| | Read a unitary value from an input stream.
|
| void | ValueInClosedRange (UtInput &aInput, T aMinValue, T aMaxValue) |
| void | ValueGreater (UtInput &aInput, T aMinValue) |
| void | ValueGreaterOrEqual (UtInput &aInput, T aMinValue) |
| void | ValueLess (UtInput &aInput, T aMaxValue) |
| void | ValueLessOrEqual (UtInput &aInput, T aMaxValue) |
| | WsfVariableBase () |
| bool | HasDefaultValue () const |
| | Has a default value been defined for a reference.
|
| bool | IsReference () const |
| | Is the variable a reference to a script variable?
|
|
| bool | DefaultOptionPresent (UtInput &aInput) |
| | Determine if the '/default' option is present.
|
| std::string | ObjectName (WsfComponent *aObjectPtr) |
| | Return the name of the object for messages.
|
| bool | ReadReference (UtInput &aInput) |
| bool | ResolveReference (const std::string &aVariableName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, const UtScriptData *&aRefValuePtr, WsfScriptContext &aGlobalContext) |
| bool | Initialize (const std::string &aName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, WsfStringId &aValue, WsfScriptContext &aGlobalContext) |
| void | ReadValue (UtInput &aInput, WsfStringId &aValue) |
| bool | Initialize (const std::string &aName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, double &aValue, WsfScriptContext &aGlobalContext) |
| void | ReadValue (UtInput &aInput, double &aValue) |
| void | ReadValueOfType (UtInput &aInput, UtInput::ValueType aType, double &aValue) |
| bool | Initialize (const std::string &aName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, float &aValue, WsfScriptContext &aGlobalContext) |
| void | ReadValue (UtInput &aInput, float &aValue) |
| void | ReadValueOfType (UtInput &aInput, UtInput::ValueType aType, float &aValue) |
| bool | Initialize (const std::string &aName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, int &aValue, WsfScriptContext &aGlobalContext) |
| void | ReadValue (UtInput &aInput, int &aValue) |
| void | ReadValueOfType (UtInput &aInput, UtInput::ValueType aType, int &aValue) |
| bool | Initialize (const std::string &aName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, bool &aValue, WsfScriptContext &aGlobalContext) |
| void | ReadValue (UtInput &aInput, bool &aValue) |
| bool | Initialize (const std::string &aName, WsfComponent *aObjectPtr, WsfScriptContext *aContextPtr, std::string &aValue, WsfScriptContext &aGlobalContext) |
| void | ReadValue (UtInput &aInput, std::string &aValue) |
| WsfStringId | mRefVarNameId |
| | The name (ID) of the referenced variable. It is less than zero if the variable is not a reference.
|
| bool | mHasDefaultValue |
| | 'true' if the '/default' option was provided
|
template<typename T>
class WsfVariable< T >
A template that defines a variable of a specific type.
This template is primarily for numeric types.