#include <value.h>
Public Member Functions |
|
ValueMetaClass () | |
ScripterExport | ValueMetaClass (MCHAR *iname) |
ScripterExport | ~ValueMetaClass () |
ScripterExport BOOL | is_kind_of (ValueMetaClass *c) |
ScripterExport void | sprin1 (CharStream *s) |
ScripterExport void | export_to_scripter () |
ScripterExport void | add_user_prop (MCHAR *prop, value_cf getter, value_cf setter) |
ScripterExport void | add_user_generic (MCHAR *name, value_cf fn) |
ScripterExport UserGeneric * | find_user_gen (Value *name) |
ScripterExport UserProp * | find_user_prop (Value *prop) |
ScripterExport void | add_prop_interface (FPInterfaceDesc *fpd) |
ScripterExport int | num_prop_interfaces () |
ScripterExport FPInterfaceDesc * | get_prop_interface (int i) |
Public Attributes |
|
MCHAR * | name |
UserProp * | user_props |
short | uprop_count |
UserGeneric * | user_gens |
short | ugen_count |
Tab< FPInterfaceDesc * > | prop_interfaces |
ValueMetaClass | ( | ) | [inline] |
{ }
ScripterExport ValueMetaClass | ( | MCHAR * | iname | ) |
ScripterExport ~ValueMetaClass | ( | ) |
ScripterExport BOOL is_kind_of | ( | ValueMetaClass * | c | ) | [virtual] |
Reimplemented from Value.
ScripterExport void sprin1 | ( | CharStream * | s | ) | [virtual] |
Reimplemented from Value.
ScripterExport void export_to_scripter | ( | ) | [virtual] |
Reimplemented from Value.
ScripterExport void add_user_prop | ( | MCHAR * | prop, |
value_cf | getter, | ||
value_cf | setter | ||
) |
ScripterExport void add_user_generic | ( | MCHAR * | name, |
value_cf | fn | ||
) |
ScripterExport UserGeneric* find_user_gen | ( | Value * | name | ) |
ScripterExport void add_prop_interface | ( | FPInterfaceDesc * | fpd | ) | [inline] |
{ prop_interfaces.Append(1, &fpd); }
ScripterExport int num_prop_interfaces | ( | ) | [inline] |
{ return prop_interfaces.Count(); }
ScripterExport FPInterfaceDesc* get_prop_interface | ( | int | i | ) | [inline] |
{ return prop_interfaces[i]; }
MCHAR* name |