3ds Max C++ API 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 Box3 to_box3 ()
 
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 ()
 
virtual BOOL object_supports_case_sensitive_names ()
 
ScripterExport Value_get_property (Value *prop, Value *prop_name_as_parsed)
 
ScripterExport Value_set_property (Value *prop, Value *val, Value *prop_name_as_parsed)
 
virtual ScripterExport Valueget_case_sensitive_property (Value **arg_list, int count, const TCHAR *case_sensitive_name)
 
virtual ScripterExport Valueset_case_sensitive_property (Value **arg_list, int count, const TCHAR *case_sensitive_name)
 
ScripterExport Valueinvoke_getter_case_sensitive_property (Value *target, getter_vf getter, Value **arg_list, int count, const TCHAR *case_sensitive_name, const TCHAR *nested_prop_case_sensitive_name)
 
ScripterExport Valueinvoke_setter_case_sensitive_property (Value *target, setter_vf setter, Value **arg_list, int count, const TCHAR *case_sensitive_name, const TCHAR *nested_prop_case_sensitive_name)
 
- 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
 

Static Protected Attributes

static ScripterExport Valuekeyarg_marker_value
 

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

◆ is_kind_of()

◆ local_base_class()

virtual ScripterExport ValueMetaClass* local_base_class ( )
virtual

◆ eval()

◆ eval_no_wrapper()

virtual Value* eval_no_wrapper ( )
inlinevirtual

Reimplemented in SourceFileWrapper.

119 { check_interrupts(); return this; }

◆ apply()

◆ apply_no_alloc_frame()

virtual ScripterExport Value* apply_no_alloc_frame ( Value **  arglist,
int  count,
CallContext cc = NULL 
)
virtual

◆ export_to_scripter()

virtual void export_to_scripter ( )
inlinevirtual

◆ map()

virtual Value* map ( node_map m)
inlinevirtual

Reimplemented in MAXNamedSet, MAXNamedSetArray, PathName, MAXCustAttribArray, MAXModifierArray, MAXPB2ArrayParam, MAXNodeChildrenArray, MAXNode, MAXMeditMaterials, MAXMaterialLibrary, MAXMultiMaterial, MAXKeyArray, MeshSelection, MXSDictionaryValue, BitArrayValue, and Array.

124 { unimplemented(_M("map"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:255
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67

◆ map_path()

virtual Value* map_path ( PathName path,
node_map m 
)
inlinevirtual

Reimplemented in MAXNode, and Array.

125 { unimplemented(_M("map_path"), this) ; return this; }

◆ find_first()

virtual Value* find_first ( BOOL(*)(INode *node, int level, const void *arg)  test_fn,
const void test_arg 
)
inlinevirtual

Reimplemented in MAXNode, and Array.

126 { unimplemented(_M("find_first"), this) ; return this; }

◆ get_path()

virtual Value* get_path ( PathName path)
inlinevirtual

Reimplemented in MAXNode, and Array.

127 { unimplemented(_M("get"), this) ; return this; }

◆ sprin1()

virtual ScripterExport void sprin1 ( CharStream stream)
virtual

Reimplemented in ShallowString, ReadOnlyThunk, SafeArrayWrapper, OLEObject, MouseTool, RCMenu, MenuItem, GroupEndControl, GroupStartControl, MtlButtonControl, MapButtonControl, BitmapControl, CheckBoxControl, RadioControl, ColorPickerControl, PickerControl, SliderControl, SpinnerControl, ListBoxControl, ComboBoxControl, EditTextControl, CheckButtonControl, ButtonControl, LabelControl, Rollout, MSCustAttrib, MSCustAttribDef, MAXNamedSet, MAXNamedSetArray, PathName, MAXRootScene, MAXSceneXRef, MAXRootNode, MAXCustAttribArray, MAXCustAttrib, MAXRenderer, MAXShadowType, MAXMultiPassCameraEffect, MAXEffect, MAXAtmospheric, BezierShapeValue, MAXBezierShapeClass, MeshValue, MAXMeshClass, MAXTVUtility, TrackViewPickValue, MAXTVNode, MAXRefTarg, MAXSubAnim, MAXControl, MAXModifierArray, MAXModifier, MAXPB2ArrayParam, MAXObject, MAXNodeChildrenArray, MAXNode, MAXClass, MAXSuperClass, MAXMeditMaterials, MAXMtlBase, MAXTexture, MAXMaterialLibrary, MAXMultiMaterial, MAXMaterial, MAXKey, MAXKeyArray, EdgeSelectionValue, FaceSelectionValue, VertSelectionValue, MotionTracker, MAXBitMap, NoValue, Unsupplied, Empty, Ok, Undefined, Boolean, ValueMetaClass, WindowStream, ValueHolder, Struct, StructDef, StringStream, String, IntegerPtr, Integer64, Integer, Double, Name, MSInterval, MSTime, MXSDictionaryValue, FPStaticMethodInterfaceValue, FPMixinInterfaceValue, FPInterfaceValue, IObjectValue, InterfaceFunction, PluginMethod, StructMethod, MAXScriptFunction, Function, FileStream, DataPair, ColorValue, BitArrayValue, Array, Box3Value, Box2Value, Point4Value, Point2Value, Matrix3Value, EulerAnglesValue, AngAxisValue, QuatValue, RayValue, Point3Value, OwnerThunk, DerefThunk, ThunkReference, StructMemberThunk, PluginParamThunk, PluginLocalThunk, RCMenuLocalThunk, RCMenuItemThunk, CodeBlockLocalThunk, ToolLocalThunk, RolloutLocalThunk, RolloutControlThunk, IndexThunk, PropertyThunk, IndirectFreeThunk, FreeThunk, ContextThunk, IndirectLocalThunk, LocalThunk, SystemGlobalThunk, GlobalThunk, CodeBlock, Maker, CodeTree, SourceFileWrapper, and SourcePositionWrapper.

◆ sprint()

virtual ScripterExport void sprint ( CharStream stream)
virtual

Reimplemented in NoValue.

◆ prin1()

virtual void prin1 ( )
inlinevirtual
132 { sprin1(thread_local(current_stdout)); }
#define thread_local(x)
Definition: MAXScript_TLS.h:46
virtual ScripterExport void sprin1(CharStream *stream)

◆ print()

virtual void print ( )
inlinevirtual
133 { sprint(thread_local(current_stdout)); }
virtual ScripterExport void sprint(CharStream *stream)

◆ get_max_class_id()

virtual ScripterExport Class_ID get_max_class_id ( )
inlinevirtual

Reimplemented in MAXBezierShapeClass, MAXMeshClass, and MAXClass.

166 { return Class_ID(0, 0); }
Definition: maxtypes.h:154

◆ delete_vf()

virtual ScripterExport Value* delete_vf ( Value **  arglist,
int  arg_count 
)
inlinevirtual
167 { ABSTRACT_FUNCTION(_M("delete"), this, Value*); }
Definition: value.h:107
#define ABSTRACT_FUNCTION(m, v, t)
Definition: define_abstract_functions.h:158

◆ clearSelection_vf()

virtual ScripterExport Value* clearSelection_vf ( Value **  arglist,
int  arg_count 
)
inlinevirtual
168 { ABSTRACT_FUNCTION(_M("clearSelection"), this, Value*); }

◆ to_float()

virtual float to_float ( )
inlinevirtual

Reimplemented in IntegerPtr, Integer64, Integer, Double, and MSTime.

176 { ABSTRACT_CONVERTER(float, Float); }
#define ABSTRACT_CONVERTER(t, l)
Definition: define_abstract_functions.h:159
@ Float
Definition: MouseCursors.h:125

◆ to_double()

virtual double to_double ( )
inlinevirtual

Reimplemented in IntegerPtr, Integer64, Integer, Double, and MSTime.

177 { ABSTRACT_CONVERTER(double, Double); }
Definition: numbers.h:125

◆ to_string()

virtual const MCHAR* to_string ( )
inlinevirtual

Reimplemented in ShallowString, StringStream, String, and Name.

178 { ABSTRACT_CONVERTER(const MCHAR*, String); }
Definition: strings.h:20
#define MCHAR
MBCS/Unicode helper defines std::wofstream doesn't mix well with Unicode.
Definition: strbasic.h:42

◆ to_mstr()

virtual MSTR to_mstr ( )
inlinevirtual

Reimplemented in ShallowString, StringStream, String, and Name.

179 { return MSTR(to_string()); }
virtual const MCHAR * to_string()
Definition: value.h:178
WStr MSTR
Definition: strclass.h:1058

◆ to_filename()

virtual MSTR to_filename ( )
inlinevirtual

Reimplemented in String, Name, and IObjectValue.

180 { ABSTRACT_CONVERTER(const MCHAR*, FileName); }

◆ to_int()

virtual int to_int ( )
inlinevirtual

Reimplemented in Boolean, IntegerPtr, Integer64, Integer, Double, and MSTime.

181 { ABSTRACT_CONVERTER(int, Integer); }
Definition: numbers.h:175

◆ to_int64()

virtual INT64 to_int64 ( )
inlinevirtual

Reimplemented in Boolean, IntegerPtr, Integer64, Integer, Double, and MSTime.

182 { ABSTRACT_CONVERTER(INT64, Integer64); }
Definition: numbers.h:220

◆ to_intptr()

virtual INT_PTR to_intptr ( )
inlinevirtual

Reimplemented in Boolean, IntegerPtr, Integer64, Integer, Double, and MSTime.

183 { ABSTRACT_CONVERTER(INT_PTR, IntegerPtr); }
Definition: numbers.h:270

◆ to_bool()

virtual BOOL to_bool ( )
inlinevirtual

Reimplemented in Boolean, IntegerPtr, Integer64, and Integer.

184 { ABSTRACT_CONVERTER(BOOL, Boolean); }
Definition: value.h:617

◆ to_bitarray()

virtual BitArray& to_bitarray ( )
inlinevirtual

Reimplemented in BitArrayValue.

185 { throw ConversionError (this, _M("BitArray")); return *(BitArray*)NULL; }
#define NULL
Definition: autoptr.h:18
Definition: bitarray.h:60
Definition: exceptions.h:347

◆ to_point4()

virtual Point4 to_point4 ( )
inlinevirtual

Reimplemented in ColorValue, and Point4Value.

Definition: point4.h:43

◆ to_point3()

virtual Point3 to_point3 ( )
inlinevirtual

Reimplemented in ColorValue, Point4Value, and Point3Value.

Definition: point3.h:56

◆ to_point2()

virtual Point2 to_point2 ( )
inlinevirtual

Reimplemented in Point4Value, Point2Value, and Point3Value.

Definition: point2.h:44

◆ to_acolor()

virtual AColor to_acolor ( )
inlinevirtual

Reimplemented in ColorValue, Point4Value, and Point3Value.

189 { throw ConversionError (this, _M("Color")); return AColor(0,0,0); }
Definition: acolor.h:32

◆ to_colorref()

virtual COLORREF to_colorref ( )
inlinevirtual

Reimplemented in ColorValue, Point4Value, and Point3Value.

190 { throw ConversionError (this, _M("Color")); return RGB(0,0,0); }

◆ to_node()

virtual INode* to_node ( )
inlinevirtual

Reimplemented in MAXSubAnim, and MAXNode.

191 { ABSTRACT_CONVERTER(INode*, <node>); }
Definition: inode.h:55

◆ to_ray()

virtual Ray to_ray ( )
inlinevirtual

Reimplemented in RayValue.

192 { throw ConversionError (this, _M("Ray")); return Ray(); }
Definition: point3.h:263

◆ to_interval()

virtual Interval to_interval ( )
inlinevirtual

Reimplemented in MSInterval.

193 { throw ConversionError (this, _M("Interval")); return Interval(); }
Definition: interval.h:36

◆ to_quat()

virtual Quat to_quat ( )
inlinevirtual

Reimplemented in Matrix3Value, EulerAnglesValue, AngAxisValue, and QuatValue.

194 { throw ConversionError (this, _M("Quaternion")); return Quat(); }
Definition: quat.h:173

◆ to_angaxis()

virtual AngAxis to_angaxis ( )
inlinevirtual

Reimplemented in EulerAnglesValue, AngAxisValue, and QuatValue.

195 { throw ConversionError (this, _M("AngleAxis")); return AngAxis(); }
Definition: quat.h:41

◆ to_matrix3()

virtual Matrix3& to_matrix3 ( )
inlinevirtual

Reimplemented in Matrix3Value.

196 { throw ConversionError (this, _M("Matrix")); return s_error_matrix; }

◆ to_box3()

virtual Box3 to_box3 ( )
inlinevirtual

Reimplemented in Box3Value.

197 { throw ConversionError (this, _M("Box3")); return Box3(); }
Definition: box3.h:31

◆ to_eulerangles()

virtual float* to_eulerangles ( )
inlinevirtual

Reimplemented in EulerAnglesValue.

198 { ABSTRACT_CONVERTER(float*, Float); }

◆ to_mtl()

virtual Mtl* to_mtl ( )
inlinevirtual

Reimplemented in MAXSubAnim, MAXMultiMaterial, MAXMaterial, and Undefined.

The main material class definition.
Definition: mtl.h:209
Definition: Mtl.h:35

◆ to_texmap()

virtual Texmap* to_texmap ( )
inlinevirtual

Reimplemented in MAXSubAnim, and MAXTexture.

200 { ABSTRACT_CONVERTER(Texmap*, TextureMap); }
Definition: Texmap.h:146

◆ to_mtlbase()

virtual MtlBase* to_mtlbase ( )
inlinevirtual

Reimplemented in MAXMtlBase, MAXTexture, MAXMultiMaterial, and MAXMaterial.

Definition: MtlBase.h:159

◆ to_modifier()

virtual Modifier* to_modifier ( )
inlinevirtual

Reimplemented in MAXSubAnim, and MAXModifier.

This is the class from which you may derive Object Space and Space Warp (World Space) Modifier plug-i...
Definition: object.h:5332

◆ to_timevalue()

virtual TimeValue to_timevalue ( )
inlinevirtual

Reimplemented in IntegerPtr, Integer64, Integer, Double, and MSTime.

203 { ABSTRACT_CONVERTER(TimeValue, Time); }
int TimeValue
Definition: maxtypes.h:118

◆ to_controller()

virtual Control* to_controller ( )
inlinevirtual

Reimplemented in MAXSubAnim, and MAXControl.

204 { ABSTRACT_CONVERTER(Control*, Controller); }
Definition: control.h:1054

◆ to_atmospheric()

virtual Atmospheric* to_atmospheric ( )
inlinevirtual

Reimplemented in MSPluginAtmos, MAXAtmospheric, and MAXSubAnim.

Definition: sfx.h:398

◆ to_effect()

virtual Effect* to_effect ( )
inlinevirtual

Reimplemented in MSPluginEffect, MAXEffect, and MAXSubAnim.

206 { ABSTRACT_CONVERTER(Effect*, Effect); } // RK: Added this
Definition: sfx.h:534

◆ to_mpassCamEffect()

virtual IMultiPassCameraEffect* to_mpassCamEffect ( )
inlinevirtual

Reimplemented in MAXMultiPassCameraEffect.

207 { ABSTRACT_CONVERTER(IMultiPassCameraEffect*, Effect); } // LAM: Added this
The multipass camera effect allows modification of viewpoints and view directions or time for each pa...
Definition: object.h:2671

◆ to_shadowtype()

virtual ShadowType* to_shadowtype ( )
inlinevirtual

Reimplemented in MAXShadowType.

208 { ABSTRACT_CONVERTER(ShadowType*, ShadowType); } // RK: Added this
Definition: shadgen.h:114

◆ to_filter()

virtual FilterKernel* to_filter ( )
inlinevirtual
209 { ABSTRACT_CONVERTER(FilterKernel*, FilterKernel); } // RK: Added this
Definition: sfx.h:742

◆ to_rootnode()

virtual INode* to_rootnode ( )
inlinevirtual

Reimplemented in MAXRootNode.

210 { ABSTRACT_CONVERTER(INode*, <root>); } // RK: Added this

◆ to_trackviewnode()

virtual ITrackViewNode* to_trackviewnode ( )
inlinevirtual

Reimplemented in MAXTVNode, and MAXSubAnim.

211 { ABSTRACT_CONVERTER(ITrackViewNode*, TrackViewNode); }
Definition: tvnode.h:118

◆ to_nurbsindependentpoint()

virtual NURBSIndependentPoint* to_nurbsindependentpoint ( )
inlinevirtual
212 { throw ConversionError (this, _M("NURBSIndependentPoint")); return (NURBSIndependentPoint*)0; }
Definition: surf_api.h:528

◆ to_nurbspoint()

virtual NURBSPoint* to_nurbspoint ( )
inlinevirtual
213 { throw ConversionError (this, _M("NURBSPoint")); return (NURBSPoint*)0; }
Definition: surf_api.h:418

◆ to_nurbsobject()

virtual NURBSObject* to_nurbsobject ( )
inlinevirtual
214 { throw ConversionError (this, _M("NURBSObject")); return (NURBSObject*)0; }
Definition: surf_api.h:323

◆ to_nurbscontrolvertex()

virtual NURBSControlVertex* to_nurbscontrolvertex ( )
inlinevirtual
215 { throw ConversionError (this, _M("NURBSControlVertex")); return (NURBSControlVertex*)0; }
Definition: surf_api.h:599

◆ to_nurbscurve()

virtual NURBSCurve* to_nurbscurve ( )
inlinevirtual
216 { throw ConversionError (this, _M("NURBSCurve")); return (NURBSCurve*)0; }
Definition: surf_api.h:1457

◆ to_nurbscvcurve()

virtual NURBSCVCurve* to_nurbscvcurve ( )
inlinevirtual
217 { throw ConversionError (this, _M("NURBSCVCurve")); return (NURBSCVCurve*)0; }
Definition: surf_api.h:1594

◆ to_nurbssurface()

virtual NURBSSurface* to_nurbssurface ( )
inlinevirtual
218 { throw ConversionError (this, _M("NURBSSurface")); return (NURBSSurface*)0; }
Definition: surf_api.h:3500

◆ to_nurbstexturepoint()

virtual NURBSTexturePoint* to_nurbstexturepoint ( )
inlinevirtual
219 { throw ConversionError (this, _M("NURBSTexturePoint")); return (NURBSTexturePoint*)0; }
Definition: surf_api.h:453

◆ to_nurbsset()

virtual NURBSSet* to_nurbsset ( )
inlinevirtual
220 { throw ConversionError (this, _M("NURBSSet")); return (NURBSSet*)0; }
Definition: surf_api.h:6336

◆ to_reftarg()

virtual ReferenceTarget* to_reftarg ( )
inlinevirtual

Reimplemented in MAXWrapper.

221 { ABSTRACT_CONVERTER(ReferenceTarget*, MaxObject); }
A scene entity that is being owned and listened to by other scene entities.
Definition: ref.h:1844

◆ to_mesh()

virtual Mesh* to_mesh ( )
inlinevirtual

Reimplemented in MeshValue.

The Mesh class is provided for use by plug-ins and is used by the system.
Definition: mesh.h:1109

◆ to_beziershape()

virtual BezierShape* to_beziershape ( )
inlinevirtual

Reimplemented in BezierShapeValue.

Defines a basic bezier shape object.
Definition: shape.h:270

◆ to_thunk()

virtual Thunk* to_thunk ( )
inlinevirtual

Reimplemented in Thunk, and SourcePositionWrapper.

224 { ABSTRACT_CONVERTER(Thunk*, &-reference); }
Definition: thunks.h:26

◆ to_fpvalue()

◆ to_renderer()

virtual Renderer* to_renderer ( )
inlinevirtual

Reimplemented in MAXRenderer.

227 { ABSTRACT_CONVERTER(Renderer*, Renderer); } // LAM: Added this 9/15/01
This is the base class for any renderer plugin.
Definition: Renderer.h:60

◆ to_box2()

virtual Box2& to_box2 ( )
inlinevirtual

Reimplemented in Box2Value.

229 { throw ConversionError (this, _M("Box2")); return s_error_box2; }

◆ to_nurbstexturesurface()

virtual NURBSTextureSurface* to_nurbstexturesurface ( )
inlinevirtual
230 { throw ConversionError (this, _M("NURBSTextureSurface")); return (NURBSTextureSurface*)0; }
Definition: surf_api.h:3185

◆ to_nurbsdisplay()

virtual NURBSDisplay* to_nurbsdisplay ( )
inlinevirtual
231 { throw ConversionError (this, _M("NURBSDisplay")); return (NURBSDisplay*)0; }
Definition: surf_api.h:6202

◆ to_tessapprox()

virtual TessApprox* to_tessapprox ( )
inlinevirtual
232 { throw ConversionError (this, _M("TessApprox")); return (TessApprox*)0; }
Definition: maxtess.h:166

◆ widen_to()

virtual Value* widen_to ( Value arg,
Value **  arg_list 
)
inlinevirtual

Reimplemented in IntegerPtr, Integer64, Integer, Double, and MSTime.

234 { ABSTRACT_WIDENER(arg); }
#define ABSTRACT_WIDENER(a)
Definition: define_abstract_functions.h:160

◆ comparable()

virtual BOOL comparable ( Value arg)
inlinevirtual

Reimplemented in IntegerPtr, Integer64, Integer, Double, and MSTime.

235 { return (tag == arg->tag); }
ValueMetaClass * tag
Definition: value.h:114

◆ special_case_compare()

virtual BOOL special_case_compare ( Value arg,
bool &  specialCaseCompareResult 
)
inlinevirtual

Reimplemented in Boolean, IntegerPtr, Integer64, and Integer.

239 { return FALSE; }

◆ deep_copy()

virtual ScripterExport Value* deep_copy ( HashTable remapper)
virtual

Reimplemented in Struct, MXSDictionaryValue, Array, DataPair, and MAXWrapper.

◆ is_const()

virtual BOOL is_const ( )
inlinevirtual

Reimplemented in ConstColorValue, and ConstPoint3Value.

270 { return FALSE; }

◆ get_property()

◆ set_property()

◆ _get_property() [1/2]

ScripterExport Value* _get_property ( Value prop)

◆ _set_property() [1/2]

virtual ScripterExport Value* _set_property ( Value prop,
Value val 
)
virtual

◆ get_container_property()

virtual Value* get_container_property ( Value prop,
Value cur_prop 
)
inlinevirtual

Reimplemented in MAXPB2ArrayParam, MAXWrapper, and PluginParamThunk.

286 { if (!dontThrowAccessorError) throw AccessorError (cur_prop, prop); return NULL; }
Definition: exceptions.h:258
ScripterExport bool dontThrowAccessorError

◆ set_container_property()

virtual Value* set_container_property ( Value prop,
Value val,
Value cur_prop 
)
inlinevirtual

Reimplemented in MAXPB2ArrayParam, MAXWrapper, and PluginParamThunk.

287 { throw AccessorError (cur_prop, prop); return NULL;}

◆ _is_collection()

virtual BOOL _is_collection ( )
inlinevirtual

◆ _is_charstream()

virtual BOOL _is_charstream ( )
inlinevirtual

Reimplemented in CharStream, and SourcePositionWrapper.

291 { return FALSE; }

◆ _is_rolloutcontrol()

virtual BOOL _is_rolloutcontrol ( )
inlinevirtual

Reimplemented in RolloutControl, and SourcePositionWrapper.

292 { return FALSE; }

◆ _is_rolloutthunk()

virtual BOOL _is_rolloutthunk ( )
inlinevirtual

Reimplemented in RolloutLocalThunk, RolloutControlThunk, and SourcePositionWrapper.

293 { return FALSE; }

◆ _is_function()

◆ _is_selection()

virtual BOOL _is_selection ( )
inlinevirtual

Reimplemented in BitArrayValue, Array, and SourcePositionWrapper.

295 { return FALSE; }

◆ _is_thunk()

virtual BOOL _is_thunk ( )
inlinevirtual

Reimplemented in Thunk, and SourcePositionWrapper.

296 { return FALSE; }

◆ _is_indirect_thunk()

virtual BOOL _is_indirect_thunk ( )
inlinevirtual

Reimplemented in IndirectFreeThunk, IndirectLocalThunk, and SourcePositionWrapper.

297 { return FALSE; }

◆ selection_iterator()

virtual SelectionIterator* selection_iterator ( )
inlinevirtual

Reimplemented in BitArrayValue, and Array.

300 { throw RuntimeError (_M("Operation requires a selection (Array or BitArray)")); return NULL; }
Definition: exceptions.h:289

◆ Save()

◆ drop_MAX_refs()

virtual void drop_MAX_refs ( )
inlinevirtual

Reimplemented in MAXWrapper.

307 { }

◆ GetInterface()

◆ make_heap_permanent()

ScripterExport Value* make_heap_permanent ( )

◆ make_heap_static()

ScripterExport Value* make_heap_static ( )
inline
314 { Value* v = make_heap_permanent(); v->flags |= GC_STATIC; return v; }
byte flags
Definition: collectable.h:121
ScripterExport Value * make_heap_permanent()
@ GC_STATIC
Definition: collectable.h:44

◆ get_heap_ptr()

ScripterExport Value* get_heap_ptr ( )
inline
316 { if (!has_heap_copy()) return migrate_to_heap(); return is_on_stack() ? get_stack_heap_ptr() : this; }
int is_on_stack()
Definition: collectable.h:188
int has_heap_copy()
Definition: collectable.h:186
ScripterExport Value * get_stack_heap_ptr()
Definition: value.h:317
ScripterExport Value * migrate_to_heap()

◆ get_stack_heap_ptr()

ScripterExport Value* get_stack_heap_ptr ( )
inline
317 { return (Value*)next; }
Collectable * next
Definition: collectable.h:117

◆ migrate_to_heap()

ScripterExport Value* migrate_to_heap ( )

◆ get_live_ptr()

ScripterExport Value* get_live_ptr ( )
inline
319 { return is_on_stack() && has_heap_copy() ? get_stack_heap_ptr() : this; }

◆ object_supports_case_sensitive_names()

virtual BOOL object_supports_case_sensitive_names ( )
inlinevirtual
328 { return FALSE; }

◆ _get_property() [2/2]

ScripterExport Value* _get_property ( Value prop,
Value prop_name_as_parsed 
)

◆ _set_property() [2/2]

ScripterExport Value* _set_property ( Value prop,
Value val,
Value prop_name_as_parsed 
)

◆ get_case_sensitive_property()

virtual ScripterExport Value* get_case_sensitive_property ( Value **  arg_list,
int  count,
const TCHAR *  case_sensitive_name 
)
virtual

◆ set_case_sensitive_property()

virtual ScripterExport Value* set_case_sensitive_property ( Value **  arg_list,
int  count,
const TCHAR *  case_sensitive_name 
)
virtual

◆ invoke_getter_case_sensitive_property()

ScripterExport Value* invoke_getter_case_sensitive_property ( Value target,
getter_vf  getter,
Value **  arg_list,
int  count,
const TCHAR *  case_sensitive_name,
const TCHAR *  nested_prop_case_sensitive_name 
)

◆ invoke_setter_case_sensitive_property()

ScripterExport Value* invoke_setter_case_sensitive_property ( Value target,
setter_vf  setter,
Value **  arg_list,
int  count,
const TCHAR *  case_sensitive_name,
const TCHAR *  nested_prop_case_sensitive_name 
)

Member Data Documentation

◆ tag

◆ keyarg_marker_value

ScripterExport Value* keyarg_marker_value
staticprotected