#include <base.h>
Public Member Functions | |
Object (ObjectFactory &factory) | |
virtual | ~Object () |
void | reference () |
void | unreference () |
ObjectFactory & | factory () const |
virtual Any | value () const=0 |
virtual Namespace * | namespace_interface () |
virtual Instance * | instance_interface () |
virtual Function * | function_interface () |
virtual GenFunc * | genfunc_interface () |
virtual Class * | class_interface () |
A scripting object represents an entity of a scripting language, like (in Python) modules, classes, methods. Scripting objects are reference-counted. If a object's reference count reaches zero it is destroyed.
|
Constructor. The initial reference count is set to one.
|
|
Destructor.
|
|
Get interface.
|
|
Get object factory.
|
|
Get interface.
|
|
Get interface.
|
|
Get interface.
|
|
Get interface.
|
|
Increase reference count.
|
|
Descrease reference count and destroy
|
|
Get object value.
|