Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
ScriptEngine.h File Reference
Include dependency graph for ScriptEngine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sf::ScriptEngine
 Simple script engine able. More...
 

Namespaces

namespace  sf
 

Functions

_MISC_FUNC Value sf::calculator (const std::string &script, const Value &def)
 Calculator function that converts a formula of the passed string to a #sf::Value.
 
_MISC_FUNC Value::flt_type sf::calculator (const std::string &script, Value::flt_type def)
 Calculator function that converts a formula of the passed string to a floating point value.
 
_MISC_FUNC Value::flt_type sf::calculator (const std::string &script, Value::flt_type def, Value::flt_type x, Value::flt_type y=0.0, Value::flt_type z=0.0)
 Same as calculator() only the passed variable 'x', 'y', 'z' are available as a constant in the script.