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 is_const ()
 
virtual BOOL derives_from_MAXWrapper ()
 
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 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.

119 { 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.

122 { }
virtual Value* map ( node_map &  m)
inlinevirtual
124 { unimplemented(_M("map"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:202
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Value* map_path ( PathName *  path,
node_map &  m 
)
inlinevirtual
125 { unimplemented(_M("map_path"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:202
#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
126 { unimplemented(_M("find_first"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:202
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Value* get_path ( PathName *  path)
inlinevirtual
127 { unimplemented(_M("get"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:202
#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
132 { sprin1(thread_local(current_stdout)); }
#define thread_local(x)
Definition: MAXScript_TLS.h:44
virtual ScripterExport void sprin1(CharStream *stream)
virtual void print ( )
inlinevirtual
133 { 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.

166 { return Class_ID(0, 0); }
Definition: maxtypes.h:140
virtual ScripterExport Value* delete_vf ( Value **  arglist,
int  arg_count 
)
inlinevirtual
167 { ABSTRACT_FUNCTION(_M("delete"), this, Value*); }
#define ABSTRACT_FUNCTION(m, v, t)
Definition: define_abstract_functions.h:146
Definition: value.h:106
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual ScripterExport Value* clearSelection_vf ( Value **  arglist,
int  arg_count 
)
inlinevirtual
168 { ABSTRACT_FUNCTION(_M("clearSelection"), this, Value*); }
#define ABSTRACT_FUNCTION(m, v, t)
Definition: define_abstract_functions.h:146
Definition: value.h:106
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual float to_float ( )
inlinevirtual
176 { ABSTRACT_CONVERTER(float, Float); }
Definition: MouseCursors.h:125
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual double to_double ( )
inlinevirtual
177 { ABSTRACT_CONVERTER(double, Double); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual const MCHAR* to_string ( )
inlinevirtual
178 { 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
179 { return MSTR(to_string()); }
virtual const MCHAR * to_string()
Definition: value.h:178
WStr MSTR
Definition: strclass.h:957
virtual MSTR to_filename ( )
inlinevirtual

Reimplemented in IObjectValue.

180 { 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
181 { ABSTRACT_CONVERTER(int, Integer); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual INT64 to_int64 ( )
inlinevirtual
182 { ABSTRACT_CONVERTER(INT64, Integer64); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual INT_PTR to_intptr ( )
inlinevirtual
183 { ABSTRACT_CONVERTER(INT_PTR, IntegerPtr); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual BOOL to_bool ( )
inlinevirtual

Reimplemented in Boolean.

184 { ABSTRACT_CONVERTER(BOOL, Boolean); }
Definition: value.h:525
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual BitArray& to_bitarray ( )
inlinevirtual
185 { throw ConversionError (this, _M("BitArray")); return *(BitArray*)NULL; }
#define NULL
Definition: autoptr.h:18
Definition: exceptions.h:293
#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:51
#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
189 { throw ConversionError (this, _M("Color")); return AColor(0,0,0); }
Definition: exceptions.h:293
Definition: acolor.h:30
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual COLORREF to_colorref ( )
inlinevirtual
190 { throw ConversionError (this, _M("Color")); return RGB(0,0,0); }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual INode* to_node ( )
inlinevirtual
191 { ABSTRACT_CONVERTER(INode*, <node>); }
Definition: inode.h:55
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual Ray to_ray ( )
inlinevirtual
192 { throw ConversionError (this, _M("Ray")); return Ray(); }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: point3.h:222
virtual Interval to_interval ( )
inlinevirtual
193 { throw ConversionError (this, _M("Interval")); return Interval(); }
Definition: interval.h:36
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Quat to_quat ( )
inlinevirtual
194 { throw ConversionError (this, _M("Quaternion")); return Quat(); }
Definition: quat.h:146
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual AngAxis to_angaxis ( )
inlinevirtual
195 { throw ConversionError (this, _M("AngleAxis")); return AngAxis(); }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: quat.h:40
virtual Matrix3& to_matrix3 ( )
inlinevirtual
196 { throw ConversionError (this, _M("Matrix")); return s_error_matrix; }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual float* to_eulerangles ( )
inlinevirtual
197 { 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
199 { 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:5121
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual TimeValue to_timevalue ( )
inlinevirtual
202 { 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
203 { ABSTRACT_CONVERTER(Control*, Controller); }
Definition: control.h:1047
#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
205 { 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
206 { 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:2585
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
virtual ShadowType* to_shadowtype ( )
inlinevirtual
207 { 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
208 { 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
209 { 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
210 { ABSTRACT_CONVERTER(ITrackViewNode*, TrackViewNode); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:147
Definition: tvnode.h:118
virtual NURBSIndependentPoint* to_nurbsindependentpoint ( )
inlinevirtual
211 { throw ConversionError (this, _M("NURBSIndependentPoint")); return (NURBSIndependentPoint*)0; }
Definition: exceptions.h:293
Definition: surf_api.h:528
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSPoint* to_nurbspoint ( )
inlinevirtual
212 { throw ConversionError (this, _M("NURBSPoint")); return (NURBSPoint*)0; }
Definition: surf_api.h:418
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSObject* to_nurbsobject ( )
inlinevirtual
213 { throw ConversionError (this, _M("NURBSObject")); return (NURBSObject*)0; }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: surf_api.h:323
virtual NURBSControlVertex* to_nurbscontrolvertex ( )
inlinevirtual
214 { throw ConversionError (this, _M("NURBSControlVertex")); return (NURBSControlVertex*)0; }
Definition: surf_api.h:599
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSCurve* to_nurbscurve ( )
inlinevirtual
215 { throw ConversionError (this, _M("NURBSCurve")); return (NURBSCurve*)0; }
Definition: surf_api.h:1457
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSCVCurve* to_nurbscvcurve ( )
inlinevirtual
216 { throw ConversionError (this, _M("NURBSCVCurve")); return (NURBSCVCurve*)0; }
Definition: surf_api.h:1594
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSSurface* to_nurbssurface ( )
inlinevirtual
217 { throw ConversionError (this, _M("NURBSSurface")); return (NURBSSurface*)0; }
Definition: surf_api.h:3499
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSTexturePoint* to_nurbstexturepoint ( )
inlinevirtual
218 { throw ConversionError (this, _M("NURBSTexturePoint")); return (NURBSTexturePoint*)0; }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
Definition: surf_api.h:453
virtual NURBSSet* to_nurbsset ( )
inlinevirtual
219 { throw ConversionError (this, _M("NURBSSet")); return (NURBSSet*)0; }
Definition: surf_api.h:6328
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual ReferenceTarget* to_reftarg ( )
inlinevirtual

Reimplemented in MAXWrapper.

220 { ABSTRACT_CONVERTER(ReferenceTarget*, MaxObject); }
A scene entity that is being owned and listened to by other scene entities.
Definition: ref.h:1806
#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:1101
#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.

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

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

224 { throw ConversionError (this, _M("FPValue")); }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual Renderer* to_renderer ( )
inlinevirtual
226 { 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
228 { throw ConversionError (this, _M("Box2")); return s_error_box2; }
Definition: exceptions.h:293
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSTextureSurface* to_nurbstexturesurface ( )
inlinevirtual
229 { throw ConversionError (this, _M("NURBSTextureSurface")); return (NURBSTextureSurface*)0; }
Definition: exceptions.h:293
Definition: surf_api.h:3185
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual NURBSDisplay* to_nurbsdisplay ( )
inlinevirtual
230 { throw ConversionError (this, _M("NURBSDisplay")); return (NURBSDisplay*)0; }
Definition: exceptions.h:293
Definition: surf_api.h:6194
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
virtual TessApprox* to_tessapprox ( )
inlinevirtual
231 { throw ConversionError (this, _M("TessApprox")); return (TessApprox*)0; }
Definition: exceptions.h:293
#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
233 { ABSTRACT_WIDENER(arg); }
#define ABSTRACT_WIDENER(a)
Definition: define_abstract_functions.h:148
virtual BOOL comparable ( Value arg)
inlinevirtual
234 { return (tag == arg->tag); }
ValueMetaClass * tag
Definition: value.h:114
virtual BOOL is_const ( )
inlinevirtual
235 { return FALSE; }
virtual BOOL derives_from_MAXWrapper ( )
inlinevirtual

Reimplemented in MAXWrapper.

238 { 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.

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

Reimplemented in PluginParamThunk, and MAXWrapper.

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

Reimplemented in SourcePositionWrapper.

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

Reimplemented in CharStream, and SourcePositionWrapper.

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

Reimplemented in RolloutControl, and SourcePositionWrapper.

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

Reimplemented in RolloutLocalThunk, RolloutControlThunk, and SourcePositionWrapper.

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

Reimplemented in SourcePositionWrapper.

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

Reimplemented in SourcePositionWrapper, and Thunk.

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

Reimplemented in IndirectFreeThunk, IndirectLocalThunk, and SourcePositionWrapper.

255 { return FALSE; }
virtual SelectionIterator* selection_iterator ( )
inlinevirtual
258 { 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:235
virtual ScripterExport IOResult Save ( ISave isave)
virtual

Reimplemented in NoValue, Unsupplied, Empty, Ok, Undefined, Boolean, and MAXWrapper.

virtual void drop_MAX_refs ( )
inlinevirtual

Reimplemented in MAXWrapper.

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

Reimplemented in IObjectValue, and MAXWrapper.

268 { return NULL; }
#define NULL
Definition: autoptr.h:18
ScripterExport Value* make_heap_permanent ( )
ScripterExport Value* make_heap_static ( )
inline
273 { 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:116
Definition: value.h:106
ScripterExport Value* get_heap_ptr ( )
inline
275 { 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:276
int is_on_stack()
Definition: collectable.h:177
ScripterExport Value * migrate_to_heap()
int has_heap_copy()
Definition: collectable.h:175
ScripterExport Value* get_stack_heap_ptr ( )
inline
276 { return (Value*)next; }
Collectable * next
Definition: collectable.h:112
Definition: value.h:106
ScripterExport Value* migrate_to_heap ( )
ScripterExport Value* get_live_ptr ( )
inline
278 { return is_on_stack() && has_heap_copy() ? get_stack_heap_ptr() : this; }
ScripterExport Value * get_stack_heap_ptr()
Definition: value.h:276
int is_on_stack()
Definition: collectable.h:177
int has_heap_copy()
Definition: collectable.h:175

Member Data Documentation