API Documentation
ScriptWrapper.h
1 // ScriptWrapper.h
3 //
5 
7 {
11  class ScriptWrapper final
12  {
13  public :
14 
15  // Env
22 
23  // Callbacks
24  // Constructor, destructor
35  static void* constructor (const nkScripts::DataStack& stack) ;
41  static void destructor (void* toDestroy) ;
42  // Getters
87  // Setters
121  // Manipulations
144  // Global
158  } ;
159 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkScriptsWrap::ScriptWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkScriptsWrap::ScriptWrapper
Wraps a nkScripts::Script and offers functions for use in scripting.
Definition: ScriptWrapper.h:12
nkAstraeus::nkScriptsWrap::ScriptWrapper::getSources
static nkScripts::OutputValue getSources(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::getTargetInterpreter
static nkScripts::OutputValue getTargetInterpreter(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::setTargetInterpreter
static nkScripts::OutputValue setTargetInterpreter(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::setSources
static nkScripts::OutputValue setSources(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::call
static nkScripts::OutputValue call(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::getLastCompilationResult
static nkScripts::OutputValue getLastCompilationResult(const nkScripts::DataStack &stack)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkScriptsWrap::ScriptWrapper::setName
static nkScripts::OutputValue setName(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::load
static nkScripts::OutputValue load(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap
Encompasses the wrapping of nkScripts for scripting.
Definition: Constants.h:7
nkAstraeus::nkScriptsWrap::ScriptWrapper::unload
static nkScripts::OutputValue unload(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::constructor
static void * constructor(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::ScriptWrapper::destructor
static void destructor(void *toDestroy)
nkAstraeus::nkScriptsWrap::ScriptWrapper::getName
static nkScripts::OutputValue getName(const nkScripts::DataStack &stack)