Value Class Reference

Value Class Reference

#include <value.h>

+ Inheritance diagram for Value:

Public Member Functions

virtual ScripterExport BOOL is_kind_of (ValueMetaClass *c)
 
virtual ScripterExport ValueMetaClasslocal_base_class ()
 
virtual Valueeval ()
 
virtual Valueeval_no_wrapper ()
 
virtual ScripterExport Valueapply (Value **arglist, int count, CallContext *cc=NULL)
 
virtual ScripterExport Valueapply_no_alloc_frame (Value **arglist, int count, CallContext *cc=NULL)
 
virtual void export_to_scripter ()
 
virtual Valuemap (node_map &m)
 
virtual Valuemap_path (PathName *path, node_map &m)
 
virtual Valuefind_first (BOOL(*test_fn)(INode *node, int level, const void *arg), const void *test_arg)
 
virtual Valueget_path (PathName *path)
 
virtual ScripterExport void sprin1 (CharStream *stream)
 
virtual ScripterExport void sprint (CharStream *stream)
 
virtual void prin1 ()
 
virtual void print ()
 
virtual ScripterExport Class_ID get_max_class_id ()
 
virtual ScripterExport Valuedelete_vf (Value **arglist, int arg_count)
 
virtual ScripterExport ValueclearSelection_vf (Value **arglist, int arg_count)
 
virtual float to_float ()
 
virtual double to_double ()
 
virtual const MCHARto_string ()
 
virtual MSTR to_mstr ()
 
virtual MSTR to_filename ()
 
virtual int to_int ()
 
virtual INT64 to_int64 ()
 
virtual INT_PTR to_intptr ()
 
virtual BOOL to_bool ()
 
virtual BitArrayto_bitarray ()
 
virtual Point4 to_point4 ()
 
virtual Point3 to_point3 ()
 
virtual Point2 to_point2 ()
 
virtual AColor to_acolor ()
 
virtual COLORREF to_colorref ()
 
virtual INodeto_node ()
 
virtual Ray to_ray ()
 
virtual Interval to_interval ()
 
virtual Quat to_quat ()
 
virtual AngAxis to_angaxis ()
 
virtual Matrix3to_matrix3 ()
 
virtual float * to_eulerangles ()
 
virtual Mtlto_mtl ()
 
virtual Texmapto_texmap ()
 
virtual MtlBaseto_mtlbase ()
 
virtual Modifierto_modifier ()
 
virtual TimeValue to_timevalue ()
 
virtual Controlto_controller ()
 
virtual Atmosphericto_atmospheric ()
 
virtual Effectto_effect ()
 
virtual IMultiPassCameraEffectto_mpassCamEffect ()
 
virtual ShadowTypeto_shadowtype ()
 
virtual FilterKernelto_filter ()
 
virtual INodeto_rootnode ()
 
virtual ITrackViewNodeto_trackviewnode ()
 
virtual NURBSIndependentPointto_nurbsindependentpoint ()
 
virtual NURBSPointto_nurbspoint ()
 
virtual NURBSObjectto_nurbsobject ()
 
virtual NURBSControlVertexto_nurbscontrolvertex ()
 
virtual NURBSCurveto_nurbscurve ()
 
virtual NURBSCVCurveto_nurbscvcurve ()
 
virtual NURBSSurfaceto_nurbssurface ()
 
virtual NURBSTexturePointto_nurbstexturepoint ()
 
virtual NURBSSetto_nurbsset ()
 
virtual ReferenceTargetto_reftarg ()
 
virtual Meshto_mesh ()
 
virtual BezierShapeto_beziershape ()
 
virtual Thunkto_thunk ()
 
virtual void to_fpvalue (FPValue &v)
 
virtual Rendererto_renderer ()
 
virtual Box2to_box2 ()
 
virtual NURBSTextureSurfaceto_nurbstexturesurface ()
 
virtual NURBSDisplayto_nurbsdisplay ()
 
virtual TessApproxto_tessapprox ()
 
virtual Valuewiden_to (Value *arg, Value **arg_list)
 
virtual BOOL comparable (Value *arg)
 
virtual BOOL special_case_compare (Value *arg, bool &specialCaseCompareResult)
 
virtual ScripterExport Valuedeep_copy (HashTable *remapper)
 
virtual BOOL is_const ()
 
virtual ScripterExport Valueget_property (Value **arg_list, int count)
 
virtual ScripterExport Valueset_property (Value **arg_list, int count)
 
ScripterExport Value_get_property (Value *prop)
 
virtual ScripterExport Value_set_property (Value *prop, Value *val)
 
virtual Valueget_container_property (Value *prop, Value *cur_prop)
 
virtual Valueset_container_property (Value *prop, Value *val, Value *cur_prop)
 
virtual BOOL _is_collection ()
 
virtual BOOL _is_charstream ()
 
virtual BOOL _is_rolloutcontrol ()
 
virtual BOOL _is_rolloutthunk ()
 
virtual BOOL _is_function ()
 
virtual BOOL _is_selection ()
 
virtual BOOL _is_thunk ()
 
virtual BOOL _is_indirect_thunk ()
 
virtual SelectionIteratorselection_iterator ()
 
virtual ScripterExport IOResult Save (ISave *isave)
 
virtual void drop_MAX_refs ()
 
virtual BaseInterfaceGetInterface (Interface_ID id)
 
ScripterExport Valuemake_heap_permanent ()
 
ScripterExport Valuemake_heap_static ()
 
ScripterExport Valueget_heap_ptr ()
 
ScripterExport Valueget_stack_heap_ptr ()
 
ScripterExport Valuemigrate_to_heap ()
 
ScripterExport Valueget_live_ptr ()
 
- Public Member Functions inherited from Collectable
ScripterExport Collectable ()
 
virtual ScripterExport ~Collectable ()
 
ScripterExport voidoperator new (size_t sz, char flag)
 
ScripterExport voidoperator new (size_t sz)
 
ScripterExport void operator delete (void *val)
 
ScripterExport void operator delete (void *val, char flag)
 
virtual void collect ()=0
 
virtual ScripterExport void gc_trace ()
 
ScripterExport bool derives_from_Animatable ()
 
virtual BOOL derives_from_MAXWrapper ()
 
ScripterExport void make_collectable ()
 
void make_permanent ()
 
void make_static ()
 
int is_marked ()
 
int is_not_marked ()
 
int is_garbage ()
 
int is_permanent ()
 
void mark_in_use ()
 
void unmark_in_use ()
 
int has_heap_copy ()
 
int is_in_heap ()
 
int is_on_stack ()
 

Public Attributes

ValueMetaClasstag
 
- Public Attributes inherited from Collectable
Collectablenext
 
Collectableprev
 
byte flags
 
byte flags2
 
short flags3
 

Additional Inherited Members

- Static Public Member Functions inherited from Collectable
static ScripterExport void for_all_values (void(*map_fn)(Value *val), ValueMapper *mapper=NULL, ValueMetaClass *c=NULL)
 
static void mark ()
 
static void sweep ()
 
static void setup (size_t)
 
static ScripterExport void gc ()
 
static void coalesce_free_list ()
 
static void close_down ()
 
static void drop_maxwrapper_refs ()
 
static ScripterExport void push_alloc_stack_frame ()
 
static ScripterExport void pop_alloc_stack_frame ()
 
static ScripterExport ULONGLONG get_num_values_created ()
 
static ScripterExport bool validate_value_linkages ()
 
- Static Public Attributes inherited from Collectable
static CRITICAL_SECTION heap_update
 
static Collectablecollectable_list
 
static Collectablepermanent_list
 
static free_memfree_list [GC_NUM_SUBLISTS]
 
static size_t heap_allocated
 
static size_t heap_size
 
static ScripterExport collectable_state state
 
static ScripterExport bool fullCollectNextHoldFlush
 
static bool gc_light
 
static bool in_gc
 
static HANDLE hGCCompletedEvent
 

Member Function Documentation

virtual ScripterExport ValueMetaClass* local_base_class ( )
virtual
virtual Value* eval_no_wrapper ( )
inlinevirtual

Reimplemented in SourceFileWrapper.

118 { check_interrupts(); return this; }
#define check_interrupts()
Definition: interupts.h:10
virtual ScripterExport Value* apply_no_alloc_frame ( Value **  arglist,
int  count,
CallContext cc = NULL 
)
virtual
virtual void export_to_scripter ( )
inlinevirtual

Reimplemented in MAXClass, MAXSuperClass, ValueMetaClass, and Function.

121 { }
virtual Value* map ( node_map &  m)
inlinevirtual
123 { unimplemented(_M("map"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:252
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Value* map_path ( PathName *  path,
node_map &  m 
)
inlinevirtual
124 { unimplemented(_M("map_path"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:252
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Value* find_first ( BOOL(*)(INode *node, int level, const void *arg)  test_fn,
const void test_arg 
)
inlinevirtual
125 { unimplemented(_M("find_first"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:252
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Value* get_path ( PathName *  path)
inlinevirtual
126 { unimplemented(_M("get"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:252
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual ScripterExport void sprint ( CharStream stream)
virtual

Reimplemented in NoValue.

virtual void prin1 ( )
inlinevirtual
131 { sprin1(thread_local(current_stdout)); }
#define thread_local(x)
Definition: MAXScript_TLS.h:44
virtual ScripterExport void sprin1(CharStream *stream)
virtual void print ( )
inlinevirtual
132 { sprint(thread_local(current_stdout)); }
#define thread_local(x)
Definition: MAXScript_TLS.h:44
virtual ScripterExport void sprint(CharStream *stream)
virtual ScripterExport Class_ID get_max_class_id ( )
inlinevirtual

Reimplemented in MAXClass.

165 { return Class_ID(0, 0); }
Definition: maxtypes.h:140
virtual ScripterExport Value* delete_vf ( Value **  arglist,
int  arg_count 
)
inlinevirtual
166 { ABSTRACT_FUNCTION(_M("delete"), this, Value*); }
#define ABSTRACT_FUNCTION(m, v, t)
Definition: define_abstract_functions.h:146
Definition: value.h:105
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual ScripterExport Value* clearSelection_vf ( Value **  arglist,
int  arg_count 
)
inlinevirtual
167 { ABSTRACT_FUNCTION(_M("clearSelection"), this, Value*); }
#define ABSTRACT_FUNCTION(m, v, t)
Definition: define_abstract_functions.h:146
Definition: value.h:105
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual float to_float ( )
inlinevirtual
175 { ABSTRACT_CONVERTER(float, Float); }
Definition: MouseCursors.h:125
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual double to_double ( )
inlinevirtual
176 { ABSTRACT_CONVERTER(double, Double); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual const MCHAR* to_string ( )
inlinevirtual
177 { ABSTRACT_CONVERTER(const MCHAR*, String); }
#define MCHAR
MBCS/Unicode helper defines std::wofstream doesn't mix well with Unicode.
Definition: strbasic.h:42
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual MSTR to_mstr ( )
inlinevirtual
178 { return MSTR(to_string()); }
virtual const MCHAR * to_string()
Definition: value.h:177
WStr MSTR
Definition: strclass.h:957
virtual MSTR to_filename ( )
inlinevirtual

Reimplemented in IObjectValue.

179 { ABSTRACT_CONVERTER(const MCHAR*, FileName); }
#define MCHAR
MBCS/Unicode helper defines std::wofstream doesn't mix well with Unicode.
Definition: strbasic.h:42
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual int to_int ( )
inlinevirtual

Reimplemented in Boolean.

180 { ABSTRACT_CONVERTER(int, Integer); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual INT64 to_int64 ( )
inlinevirtual

Reimplemented in Boolean.

181 { ABSTRACT_CONVERTER(INT64, Integer64); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual INT_PTR to_intptr ( )
inlinevirtual

Reimplemented in Boolean.

182 { ABSTRACT_CONVERTER(INT_PTR, IntegerPtr); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual BOOL to_bool ( )
inlinevirtual

Reimplemented in Boolean.

183 { ABSTRACT_CONVERTER(BOOL, Boolean); }
Definition: value.h:555
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual BitArray& to_bitarray ( )
inlinevirtual
184 { throw ConversionError (this, _M("BitArray")); return *(BitArray*)NULL; }
#define NULL
Definition: autoptr.h:18
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: bitarray.h:59
virtual Point4 to_point4 ( )
inlinevirtual
Definition: point4.h:41
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Point3 to_point3 ( )
inlinevirtual
Definition: point3.h:55
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Point2 to_point2 ( )
inlinevirtual
Definition: point2.h:43
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual AColor to_acolor ( )
inlinevirtual
188 { throw ConversionError (this, _M("Color")); return AColor(0,0,0); }
Definition: exceptions.h:343
Definition: acolor.h:30
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual COLORREF to_colorref ( )
inlinevirtual
189 { throw ConversionError (this, _M("Color")); return RGB(0,0,0); }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual INode* to_node ( )
inlinevirtual
190 { ABSTRACT_CONVERTER(INode*, <node>); }
Definition: inode.h:55
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Ray to_ray ( )
inlinevirtual
191 { throw ConversionError (this, _M("Ray")); return Ray(); }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: point3.h:246
virtual Interval to_interval ( )
inlinevirtual
192 { throw ConversionError (this, _M("Interval")); return Interval(); }
Definition: interval.h:36
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Quat to_quat ( )
inlinevirtual
193 { throw ConversionError (this, _M("Quaternion")); return Quat(); }
Definition: quat.h:146
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual AngAxis to_angaxis ( )
inlinevirtual
194 { throw ConversionError (this, _M("AngleAxis")); return AngAxis(); }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: quat.h:40
virtual Matrix3& to_matrix3 ( )
inlinevirtual
195 { throw ConversionError (this, _M("Matrix")); return s_error_matrix; }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual float* to_eulerangles ( )
inlinevirtual
196 { ABSTRACT_CONVERTER(float*, Float); }
Definition: MouseCursors.h:125
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Mtl* to_mtl ( )
inlinevirtual

Reimplemented in Undefined.

The main material class definition.
Definition: mtl.h:208
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
Definition: Mtl.h:34
virtual Texmap* to_texmap ( )
inlinevirtual
198 { ABSTRACT_CONVERTER(Texmap*, TextureMap); }
Definition: Texmap.h:145
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual MtlBase* to_mtlbase ( )
inlinevirtual
Definition: MtlBase.h:158
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Modifier* to_modifier ( )
inlinevirtual
This is the class from which you may derive Object Space and Space Warp (World Space) Modifier plug-i...
Definition: object.h:5270
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual TimeValue to_timevalue ( )
inlinevirtual
201 { ABSTRACT_CONVERTER(TimeValue, Time); }
int TimeValue
Definition: maxtypes.h:109
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Control* to_controller ( )
inlinevirtual
202 { ABSTRACT_CONVERTER(Control*, Controller); }
Definition: control.h:1052
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Atmospheric* to_atmospheric ( )
inlinevirtual
Definition: sfx.h:379
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Effect* to_effect ( )
inlinevirtual
204 { ABSTRACT_CONVERTER(Effect*, Effect); } // RK: Added this
Definition: sfx.h:515
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual IMultiPassCameraEffect* to_mpassCamEffect ( )
inlinevirtual
205 { ABSTRACT_CONVERTER(IMultiPassCameraEffect*, Effect); } // LAM: Added this
Definition: sfx.h:515
The multipass camera effect allows modification of viewpoints and view directions or time for each pa...
Definition: object.h:2610
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual ShadowType* to_shadowtype ( )
inlinevirtual
206 { ABSTRACT_CONVERTER(ShadowType*, ShadowType); } // RK: Added this
Definition: shadgen.h:114
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual FilterKernel* to_filter ( )
inlinevirtual
207 { ABSTRACT_CONVERTER(FilterKernel*, FilterKernel); } // RK: Added this
Definition: sfx.h:723
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual INode* to_rootnode ( )
inlinevirtual
208 { ABSTRACT_CONVERTER(INode*, <root>); } // RK: Added this
Definition: inode.h:55
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual ITrackViewNode* to_trackviewnode ( )
inlinevirtual
209 { ABSTRACT_CONVERTER(ITrackViewNode*, TrackViewNode); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
Definition: tvnode.h:118
virtual NURBSIndependentPoint* to_nurbsindependentpoint ( )
inlinevirtual
210 { throw ConversionError (this, _M("NURBSIndependentPoint")); return (NURBSIndependentPoint*)0; }
Definition: exceptions.h:343
Definition: surf_api.h:528
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSPoint* to_nurbspoint ( )
inlinevirtual
211 { throw ConversionError (this, _M("NURBSPoint")); return (NURBSPoint*)0; }
Definition: surf_api.h:418
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSObject* to_nurbsobject ( )
inlinevirtual
212 { throw ConversionError (this, _M("NURBSObject")); return (NURBSObject*)0; }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: surf_api.h:323
virtual NURBSControlVertex* to_nurbscontrolvertex ( )
inlinevirtual
213 { throw ConversionError (this, _M("NURBSControlVertex")); return (NURBSControlVertex*)0; }
Definition: surf_api.h:599
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSCurve* to_nurbscurve ( )
inlinevirtual
214 { throw ConversionError (this, _M("NURBSCurve")); return (NURBSCurve*)0; }
Definition: surf_api.h:1457
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSCVCurve* to_nurbscvcurve ( )
inlinevirtual
215 { throw ConversionError (this, _M("NURBSCVCurve")); return (NURBSCVCurve*)0; }
Definition: surf_api.h:1594
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSSurface* to_nurbssurface ( )
inlinevirtual
216 { throw ConversionError (this, _M("NURBSSurface")); return (NURBSSurface*)0; }
Definition: surf_api.h:3499
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSTexturePoint* to_nurbstexturepoint ( )
inlinevirtual
217 { throw ConversionError (this, _M("NURBSTexturePoint")); return (NURBSTexturePoint*)0; }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: surf_api.h:453
virtual NURBSSet* to_nurbsset ( )
inlinevirtual
218 { throw ConversionError (this, _M("NURBSSet")); return (NURBSSet*)0; }
Definition: surf_api.h:6328
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual ReferenceTarget* to_reftarg ( )
inlinevirtual

Reimplemented in MAXWrapper.

219 { ABSTRACT_CONVERTER(ReferenceTarget*, MaxObject); }
A scene entity that is being owned and listened to by other scene entities.
Definition: ref.h:1843
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Mesh* to_mesh ( )
inlinevirtual
The Mesh class is provided for use by plug-ins and is used by the system.
Definition: mesh.h:1103
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual BezierShape* to_beziershape ( )
inlinevirtual
Defines a basic bezier shape object.
Definition: shape.h:269
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Thunk* to_thunk ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, and Thunk.

222 { ABSTRACT_CONVERTER(Thunk*, &-reference); }
Definition: thunks.h:25
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual void to_fpvalue ( FPValue v)
inlinevirtual

Reimplemented in NoValue, Unsupplied, Empty, Ok, FPMixinInterfaceValue, MAXClass, Undefined, Boolean, FPInterfaceValue, IObjectValue, and MAXWrapper.

223 { throw ConversionError (this, _M("FPValue")); }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Renderer* to_renderer ( )
inlinevirtual
225 { ABSTRACT_CONVERTER(Renderer*, Renderer); } // LAM: Added this 9/15/01
This is the base class for any renderer plugin.
Definition: Renderer.h:59
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Box2& to_box2 ( )
inlinevirtual
227 { throw ConversionError (this, _M("Box2")); return s_error_box2; }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSTextureSurface* to_nurbstexturesurface ( )
inlinevirtual
228 { throw ConversionError (this, _M("NURBSTextureSurface")); return (NURBSTextureSurface*)0; }
Definition: exceptions.h:343
Definition: surf_api.h:3185
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSDisplay* to_nurbsdisplay ( )
inlinevirtual
229 { throw ConversionError (this, _M("NURBSDisplay")); return (NURBSDisplay*)0; }
Definition: exceptions.h:343
Definition: surf_api.h:6194
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual TessApprox* to_tessapprox ( )
inlinevirtual
230 { throw ConversionError (this, _M("TessApprox")); return (TessApprox*)0; }
Definition: exceptions.h:343
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: maxtess.h:166
virtual Value* widen_to ( Value arg,
Value **  arg_list 
)
inlinevirtual
232 { ABSTRACT_WIDENER(arg); }
#define ABSTRACT_WIDENER(a)
Definition: define_abstract_functions.h:148
virtual BOOL comparable ( Value arg)
inlinevirtual
233 { return (tag == arg->tag); }
ValueMetaClass * tag
Definition: value.h:113
virtual BOOL special_case_compare ( Value arg,
bool &  specialCaseCompareResult 
)
inlinevirtual

Reimplemented in Boolean.

237 { return FALSE; }
virtual ScripterExport Value* deep_copy ( HashTable remapper)
virtual

Reimplemented in MAXWrapper, and DataPair.

virtual BOOL is_const ( )
inlinevirtual
268 { return FALSE; }
ScripterExport Value* _get_property ( Value prop)
virtual ScripterExport Value* _set_property ( Value prop,
Value val 
)
virtual
virtual Value* get_container_property ( Value prop,
Value cur_prop 
)
inlinevirtual

Reimplemented in PluginParamThunk, and MAXWrapper.

274 { if (!dontThrowAccessorError) throw AccessorError (cur_prop, prop); return NULL; }
ScripterExport bool dontThrowAccessorError
#define NULL
Definition: autoptr.h:18
Definition: exceptions.h:254
virtual Value* set_container_property ( Value prop,
Value val,
Value cur_prop 
)
inlinevirtual

Reimplemented in PluginParamThunk, and MAXWrapper.

275 { throw AccessorError (cur_prop, prop); return NULL;}
#define NULL
Definition: autoptr.h:18
Definition: exceptions.h:254
virtual BOOL _is_collection ( )
inlinevirtual

Reimplemented in SourcePositionWrapper.

278 { return FALSE; }
virtual BOOL _is_charstream ( )
inlinevirtual

Reimplemented in CharStream, and SourcePositionWrapper.

279 { return FALSE; }
virtual BOOL _is_rolloutcontrol ( )
inlinevirtual

Reimplemented in RolloutControl, and SourcePositionWrapper.

280 { return FALSE; }
virtual BOOL _is_rolloutthunk ( )
inlinevirtual

Reimplemented in RolloutLocalThunk, RolloutControlThunk, and SourcePositionWrapper.

281 { return FALSE; }
virtual BOOL _is_selection ( )
inlinevirtual

Reimplemented in SourcePositionWrapper.

283 { return FALSE; }
virtual BOOL _is_thunk ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, and Thunk.

284 { return FALSE; }
virtual BOOL _is_indirect_thunk ( )
inlinevirtual

Reimplemented in IndirectFreeThunk, IndirectLocalThunk, and SourcePositionWrapper.

285 { return FALSE; }
virtual SelectionIterator* selection_iterator ( )
inlinevirtual
288 { throw RuntimeError (_M("Operation requires a selection (Array or BitArray)")); return NULL; }
#define NULL
Definition: autoptr.h:18
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: exceptions.h:285
virtual ScripterExport IOResult Save ( ISave isave)
virtual
virtual void drop_MAX_refs ( )
inlinevirtual

Reimplemented in MAXWrapper.

295 { }
virtual BaseInterface* GetInterface ( Interface_ID  id)
inlinevirtual

Reimplemented in IObjectValue, and MAXWrapper.

298 { return NULL; }
#define NULL
Definition: autoptr.h:18
ScripterExport Value* make_heap_permanent ( )
ScripterExport Value* make_heap_static ( )
inline
302 { Value* v = make_heap_permanent(); v->flags |= GC_STATIC; return v; }
Definition: collectable.h:40
ScripterExport Value * make_heap_permanent()
byte flags
Definition: collectable.h:117
Definition: value.h:105
ScripterExport Value* get_heap_ptr ( )
inline
304 { if (!has_heap_copy()) return migrate_to_heap(); return is_on_stack() ? get_stack_heap_ptr() : this; }
ScripterExport Value * get_stack_heap_ptr()
Definition: value.h:305
int is_on_stack()
Definition: collectable.h:184
ScripterExport Value * migrate_to_heap()
int has_heap_copy()
Definition: collectable.h:182
ScripterExport Value* get_stack_heap_ptr ( )
inline
305 { return (Value*)next; }
Collectable * next
Definition: collectable.h:113
Definition: value.h:105
ScripterExport Value* migrate_to_heap ( )
ScripterExport Value* get_live_ptr ( )
inline
307 { return is_on_stack() && has_heap_copy() ? get_stack_heap_ptr() : this; }
ScripterExport Value * get_stack_heap_ptr()
Definition: value.h:305
int is_on_stack()
Definition: collectable.h:184
int has_heap_copy()
Definition: collectable.h:182

Member Data Documentation