In file include/csscript/csscript.h:

class csScript : public csObject

Every script gets an instance of this class

Inheritance:


Public Methods

csScript(LanguageLayer* layer)
Create the script with the given name
LanguageLayer* get_layer()
virtual void prepare()
Prepare the script for usage (compilation to byte code for example)
virtual csRunScript* run_script(csObject* attached)
Create an instance of a running script
virtual ~csScript()

Protected Fields

LanguageLayer* layer

Inherited from csObject:

Public Methods

CS_ID GetID()
csObject* GetObj(const csIdType& objtype)
virtual csObject* GetObjectParent()
void ObjAdd(csObject* obj)
csObjIterator ObjGet(const csIdType& objtype)
void ObjRelease(csObject* obj)
void ObjRemove(csObject* obj)

Private Fields

CS_ID csid_value
csObjTree* objtree

Private Methods

virtual void SetObjectParent(csObject* parent)

Inherited from csBase:


Documentation

Every script gets an instance of this class. It is responsible for loading the script and possibly compiling it into some internal form.
LanguageLayer* layer

csScript(LanguageLayer* layer)
Create the script with the given name. Where and how the script is loaded depends on the language used for the script.

virtual ~csScript()

LanguageLayer* get_layer()

virtual void prepare()
Prepare the script for usage (compilation to byte code for example)

virtual csRunScript* run_script(csObject* attached)
Create an instance of a running script


Direct child classes:
PrimScript
IntScript

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de