#include <structs.h>
Public Member Functions |
|
ScripterExport | Struct (StructDef *idef, int mem_count) |
~Struct () | |
Value * | classOf_vf (Value **arg_list, int count) |
Value * | superClassOf_vf (Value **arg_list, int count) |
Value * | isKindOf_vf (Value **arg_list, int count) |
BOOL | is_kind_of (ValueMetaClass *c) |
void | collect () |
void | gc_trace () |
ScripterExport void | sprin1 (CharStream *s) |
use_generic (copy,"copy") | |
def_generic (get_props,"getPropNames") | |
def_generic (show_props,"showProperties") | |
Value * | get_property (Value **arg_list, int count) |
Value * | set_property (Value **arg_list, int count) |
IOResult | Save (ISave *isave) |
void | dump_local_vars (int indentLevel) |
Value * | call_handler (Value *handler, Value **arg_list, int count) |
Static Public Member Functions |
|
static Value * | Load (ILoad *iload, USHORT chunkID, ValueLoader *vload) |
Public Attributes |
|
StructDef * | definition |
Value ** | member_data |
ScripterExport Struct | ( | StructDef * | idef, |
int | mem_count | ||
) |
~Struct | ( | ) |
BOOL is_kind_of | ( | ValueMetaClass * | c | ) | [inline, virtual] |
Reimplemented from Value.
{ return (c == class_tag(StructDef)) ? 1 : Value::is_kind_of(c); }
void collect | ( | ) | [virtual] |
Implements Collectable.
void gc_trace | ( | ) | [virtual] |
Reimplemented from Collectable.
ScripterExport void sprin1 | ( | CharStream * | s | ) | [virtual] |
Reimplemented from Value.
use_generic | ( | copy | , |
"copy" | |||
) |
Reimplemented from Value.
def_generic | ( | get_props | , |
"getPropNames" | |||
) |
def_generic | ( | show_props | , |
"showProperties" | |||
) |
Reimplemented from Value.
Reimplemented from Value.
Reimplemented from Value.
static Value* Load | ( | ILoad * | iload, |
USHORT | chunkID, | ||
ValueLoader * | vload | ||
) | [static] |
void dump_local_vars | ( | int | indentLevel | ) |
StructDef* definition |