#include <Script.h>
Public Member Functions | |
void | setConfig (const Config &config) |
Sets the config for this script. | |
const Config & | getConfig () const |
Returns the currently set config. | |
virtual String | getType () const =0 |
Returns a string type identifier for the script object. | |
virtual Script * | clone () const =0 |
Clones the script. | |
virtual void | execute ()=0 |
Executes the script. | |
virtual Any | _eval ()=0 |
Internal method for evaluating the script. | |
Protected Member Functions | |
Script () | |
Script (const Config &config) | |
Protected Attributes | |
Config | _config |
|
|
|
|
|
Internal method for evaluating the script. This internal method is used to evaluate the script down to a specific returned value. This is to used with the templated eval free functions.
|
|
Clones the script.
|
|
Executes the script.
|
|
Returns the currently set config.
|
|
Returns a string type identifier for the script object.
|
|
Sets the config for this script. Sets the config stored with this script. Use of this config is implementation-specific, as well as what entries in a config might be useful or required.
|
|
|