maxscript/foundation/arrays.h File Reference

arrays.h File Reference

Macros

#define is_array(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Array))
 
#define is_BitArrayValue(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(BitArrayValue))
 
#define is_bitarray(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(BitArrayValue))
 

Functions

static ScripterExport bool ArrayPerformDeepCopy (bool type)
 
ScripterExport Array (int init_size)
 
ScripterExport ~Array ()
 
 classof_methods (Array, Value)
 
static Valuemake (Value **arg_list, int count)
 
static void setup ()
 
ScripterExport Value *& operator[] (const int i) const
 
BOOL _is_collection ()
 
BOOL _is_selection ()
 
void gc_trace ()
 
void collect ()
 
ScripterExport void sprin1 (CharStream *s)
 

Variables

int volatile size
 
int data_size
 
Value **volatile data
 
static ScripterExport
CRITICAL_SECTION 
array_update
 

Macro Definition Documentation

#define is_array (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Array))
#define is_BitArrayValue (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(BitArrayValue))
#define is_bitarray (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(BitArrayValue))

Function Documentation

static ScripterExport bool ArrayPerformDeepCopy ( bool  type)
static
ScripterExport Array ( int  init_size)
classof_methods ( Array  ,
Value   
)
static Value* make ( Value **  arg_list,
int  count 
)
static
static void setup ( )
static
ScripterExport Value*& operator[] ( const int  i) const
BOOL _is_collection ( )
45 { DbgAssert(!is_sourcepositionwrapper(this)); return 1; }
#define DbgAssert(expr)
Definition: assert1.h:74
#define is_sourcepositionwrapper(v)
BOOL _is_selection ( )
46 { DbgAssert(!is_sourcepositionwrapper(this)); return 1; }
#define DbgAssert(expr)
Definition: assert1.h:74
#define is_sourcepositionwrapper(v)
void gc_trace ( )
void collect ( )
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

int volatile size
int data_size
Value** volatile data
ScripterExport CRITICAL_SECTION array_update
static