3ds Max C++ API Reference
Loading...
Searching...
No Matches
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=nullptr)
 
virtual ScripterExport Valueapply_no_alloc_frame (Value **arglist, int count, CallContext *cc=nullptr)
 
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 Class_ID get_max_class_id ()
 
virtual Valuedelete_vf (Value **arglist, int arg_count)
 
virtual 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=nullptr, ValueMetaClass *c=nullptr)
 
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 = nullptr 
)
virtual

◆ export_to_scripter()

virtual void export_to_scripter ( )
inlinevirtual

◆ map()

virtual Value * map ( node_map m)
inlinevirtual

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

124{ unimplemented(_M("map"), this) ; return this; }
#define unimplemented(m, t)
Definition: exceptions.h:222
#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 Array, MAXNode, and ObjectSet.

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 Array, MAXNode, and ObjectSet.

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

◆ get_path()

virtual Value * get_path ( PathName path)
inlinevirtual

Reimplemented in Array, MAXNode, and ObjectSet.

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

◆ sprin1()

virtual ScripterExport void sprin1 ( CharStream stream)
virtual

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

◆ sprint()

virtual ScripterExport void sprint ( CharStream stream)
virtual

Reimplemented in NoValue.

◆ prin1()

virtual void prin1 ( )
inlinevirtual
132{ sprin1(thread_local(current_stdout)); }
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 Class_ID get_max_class_id ( )
inlinevirtual

Reimplemented in MAXClass, MAXMeshClass, and MAXBezierShapeClass.

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

◆ delete_vf()

virtual 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 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 MSTime, Float, Double, Integer, Integer64, and IntegerPtr.

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

◆ to_double()

virtual double to_double ( )
inlinevirtual

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

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

◆ to_string()

virtual const MCHAR * to_string ( )
inlinevirtual

Reimplemented in Name, ShallowString, String, and StringStream.

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 Name, ShallowString, String, and StringStream.

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

◆ to_filename()

virtual MSTR to_filename ( )
inlinevirtual

Reimplemented in IObjectValue, Name, and String.

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

◆ to_int()

virtual int to_int ( )
inlinevirtual

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

Definition: numbers.h:176

◆ to_int64()

virtual INT64 to_int64 ( )
inlinevirtual

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

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

◆ to_intptr()

virtual INT_PTR to_intptr ( )
inlinevirtual

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

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

◆ to_bool()

virtual BOOL to_bool ( )
inlinevirtual

Reimplemented in Integer, Integer64, IntegerPtr, and Boolean.

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*)nullptr; }
Definition: bitarray.h:59
Definition: exceptions.h:314

◆ to_point4()

virtual Point4 to_point4 ( )
inlinevirtual

Reimplemented in Point4Value, and ColorValue.

Definition: point4.h:41

◆ to_point3()

virtual Point3 to_point3 ( )
inlinevirtual

Reimplemented in Point3Value, Point4Value, and ColorValue.

Definition: point3.h:54

◆ to_point2()

virtual Point2 to_point2 ( )
inlinevirtual

Reimplemented in Point3Value, Point2Value, and Point4Value.

Definition: point2.h:38

◆ to_acolor()

virtual AColor to_acolor ( )
inlinevirtual

Reimplemented in Point3Value, Point4Value, and ColorValue.

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

◆ to_colorref()

virtual COLORREF to_colorref ( )
inlinevirtual

Reimplemented in Point3Value, Point4Value, and ColorValue.

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

◆ to_node()

virtual INode * to_node ( )
inlinevirtual

Reimplemented in MAXNode, and MAXSubAnim.

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:403

◆ 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 QuatValue, AngAxisValue, EulerAnglesValue, and Matrix3Value.

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

◆ to_angaxis()

virtual AngAxis to_angaxis ( )
inlinevirtual

Reimplemented in QuatValue, AngAxisValue, and EulerAnglesValue.

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

◆ 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:30

◆ to_eulerangles()

virtual float * to_eulerangles ( )
inlinevirtual

Reimplemented in EulerAnglesValue.

198{ ABSTRACT_CONVERTER(float*, Float); }

◆ to_mtl()

virtual Mtl * to_mtl ( )
inlinevirtual

Reimplemented in Undefined, MAXMaterial, MAXMultiMaterial, and MAXSubAnim.

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

◆ to_texmap()

virtual Texmap * to_texmap ( )
inlinevirtual

Reimplemented in MAXTexture, and MAXSubAnim.

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

◆ to_mtlbase()

virtual MtlBase * to_mtlbase ( )
inlinevirtual

Reimplemented in MAXMaterial, MAXMultiMaterial, MAXTexture, and MAXMtlBase.

Definition: MtlBase.h:159

◆ to_modifier()

virtual Modifier * to_modifier ( )
inlinevirtual

Reimplemented in MAXModifier, and MAXSubAnim.

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

◆ to_timevalue()

virtual TimeValue to_timevalue ( )
inlinevirtual

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

int TimeValue
Definition: maxtypes.h:31

◆ to_controller()

virtual Control * to_controller ( )
inlinevirtual

Reimplemented in MAXControl, and MAXSubAnim.

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

◆ to_atmospheric()

virtual Atmospheric * to_atmospheric ( )
inlinevirtual

Reimplemented in MAXSubAnim, MAXAtmospheric, and MSPluginAtmos.

Definition: sfx.h:400

◆ to_effect()

virtual Effect * to_effect ( )
inlinevirtual

Reimplemented in MAXSubAnim, MAXEffect, and MSPluginEffect.

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

◆ 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:2676

◆ 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:744

◆ 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 MAXSubAnim, and MAXTVNode.

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

◆ to_nurbsindependentpoint()

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

◆ to_nurbspoint()

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

◆ to_nurbsobject()

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

◆ to_nurbscontrolvertex()

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

◆ to_nurbscurve()

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

◆ to_nurbscvcurve()

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

◆ to_nurbssurface()

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

◆ to_nurbstexturepoint()

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

◆ to_nurbsset()

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

◆ 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:1849

◆ 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:1126

◆ to_beziershape()

virtual BezierShape * to_beziershape ( )
inlinevirtual

Reimplemented in BezierShapeValue.

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

◆ to_thunk()

virtual Thunk * to_thunk ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, and Thunk.

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*)nullptr; }
Definition: surf_api.h:3190

◆ to_nurbsdisplay()

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

◆ to_tessapprox()

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

◆ widen_to()

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

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

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

◆ comparable()

virtual BOOL comparable ( Value arg)
inlinevirtual

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

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, Integer, Integer64, and IntegerPtr.

239{ return FALSE; }

◆ deep_copy()

virtual ScripterExport Value * deep_copy ( HashTable remapper)
virtual

◆ is_const()

virtual BOOL is_const ( )
inlinevirtual

Reimplemented in ConstPoint3Value, and ConstColorValue.

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 PluginParamThunk, MAXWrapper, and MAXPB2ArrayParam.

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

◆ set_container_property()

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

Reimplemented in PluginParamThunk, MAXWrapper, and MAXPB2ArrayParam.

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

◆ _is_collection()

virtual BOOL _is_collection ( )
inlinevirtual

◆ _is_charstream()

virtual BOOL _is_charstream ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, and CharStream.

291{ return FALSE; }

◆ _is_rolloutcontrol()

virtual BOOL _is_rolloutcontrol ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, and RolloutControl.

292{ return FALSE; }

◆ _is_rolloutthunk()

virtual BOOL _is_rolloutthunk ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, RolloutControlThunk, and RolloutLocalThunk.

293{ return FALSE; }

◆ _is_function()

◆ _is_selection()

virtual BOOL _is_selection ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, Array, and BitArrayValue.

295{ return FALSE; }

◆ _is_thunk()

virtual BOOL _is_thunk ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, and Thunk.

296{ return FALSE; }

◆ _is_indirect_thunk()

virtual BOOL _is_indirect_thunk ( )
inlinevirtual

Reimplemented in SourcePositionWrapper, IndirectLocalThunk, and IndirectFreeThunk.

297{ return FALSE; }

◆ selection_iterator()

virtual SelectionIterator * selection_iterator ( )
inlinevirtual

Reimplemented in Array, and BitArrayValue.

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

◆ 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