|
API Documentation
|
|
|
bool isNamespaceSet(nkMemory::StringView name)
UserType * getUserType(nkMemory::StringView name)
Defines an environment in which scripts can execute.
Definition: Environment.h:14
Encompasses all API of component NilkinsScripts.
Definition: Environment.h:7
bool isUserTypeSet(nkMemory::StringView name)
Holds information and allow control over a namespace in a scripting environment.
Definition: Namespace.h:12
Holds all information for a script.
Definition: Script.h:14
UserType * setUserType(nkMemory::StringView name)
A view over data.
Definition: BufferView.h:18
void setEnvironmentFor(INTERPRETER interpretType)
void * getObject(nkMemory::StringView name, nkMemory::StringView userTypeName=nullptr)
bool isFuncSet(nkMemory::StringView name)
bool getVar(nkMemory::StringView name, bool defaultValue)
Represents a user type and all the information and control related.
Definition: UserType.h:27
Function * getFunc(nkMemory::StringView name)
bool isVarSet(nkMemory::StringView name)
A reference over an object in the scripting environment.
Definition: ScriptObjectReference.h:30
void setObject(nkMemory::StringView name, nkMemory::StringView userTypeName, void *value)
bool callScriptFunction(const ScriptObjectReference &reference, const DataStack &args, DataStack &expectedOutput)
Function * setFunc(nkMemory::StringView name)
Namespace * getNamespace(nkMemory::StringView name)
Holds information about the execution result of a script in an environment.
Definition: ExecutionResult.h:26
INTERPRETER
Supported scripting environments.
Definition: Interpreter.h:12
Namespace * setNamespace(nkMemory::StringView name)
void requestGarbageCollection()
nkMemory::StringView getName() const
bool execute(const Script &script)
ScriptObjectReference deserializeScriptObject(nkMemory::BufferView< unsigned char > object)
void setVar(nkMemory::StringView name, bool value)
ScriptObjectReference getScriptFunction(nkMemory::StringView name)
Holds information, and controls, over a function in a scripting environment.
Definition: Function.h:50
nkMemory::Buffer serializeScriptObject(const ScriptObjectReference &reference, bool forwardUserDataOwnership=false)
const ExecutionResult & getLastExecutionResult() const
void setName(nkMemory::StringView name)
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7