maxscript/foundation/structs.h File Reference

structs.h File Reference

Macros

#define is_structdef(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(StructDef))
 
#define is_struct(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == INTERNAL_STRUCT_TAG)
 

Functions

ScripterExport StructDef (Value *name, int member_count, Value **inits, HashTable *members, HashTable *member_isPublicAccess, HashTable *handlers)
 
 ~StructDef ()
 
 classof_methods (StructDef, Value)
 
void collect ()
 
void gc_trace ()
 
ScripterExport void sprin1 (CharStream *s)
 

Variables

visible_class_debug_ok(StructDef)
class StructDef friend 
Struct
 
Valuename
 
Value ** member_inits
 
int member_count
 
HashTablemembers
 
HashTablemember_isPublicAccess
 
HashTablehandlers
 

Macro Definition Documentation

#define is_structdef (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(StructDef))
#define is_struct (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == INTERNAL_STRUCT_TAG)

Function Documentation

ScripterExport StructDef ( Value name,
int  member_count,
Value **  inits,
HashTable members,
HashTable member_isPublicAccess,
HashTable handlers 
)
~StructDef ( )
classof_methods ( StructDef  ,
Value   
)
void collect ( )
void gc_trace ( )
ScripterExport void sprin1 ( CharStream s)
351 { s->printf(_M("LabelControl:%s"), name->to_string()); }
Value * name
Definition: structs.h:25
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:122
virtual const MCHAR * to_string()
Definition: value.h:171

Variable Documentation

Value* name
Value** member_inits
int member_count
HashTable* members
HashTable* member_isPublicAccess
HashTable* handlers