Struct Class Reference
 
 
 
Struct Class Reference

#include <structs.h>

Inheritance diagram for Struct:
Value Collectable

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

Constructor & Destructor Documentation

ScripterExport Struct ( StructDef *  idef,
int  mem_count 
)
~Struct ( )

Member Function Documentation

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 ) [inline, virtual]

Reimplemented from Value.

{ return (c == class_tag(StructDef)) ? 1 : Value::is_kind_of(c); }
void collect ( ) [virtual]
void gc_trace ( ) [virtual]
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"   
)
Value* get_property ( Value **  arg_list,
int  count 
) [virtual]

Reimplemented from Value.

Value* set_property ( Value **  arg_list,
int  count 
) [virtual]

Reimplemented from Value.

IOResult Save ( ISave isave ) [virtual]

Reimplemented from Value.

static Value* Load ( ILoad iload,
USHORT  chunkID,
ValueLoader vload 
) [static]
void dump_local_vars ( int  indentLevel )
Value* call_handler ( Value handler,
Value **  arg_list,
int  count 
)

Member Data Documentation