3ds Max C++ API Reference
MarketDefaults13 Class Referenceabstract

#include <marketDefaults.h>

+ Inheritance diagram for MarketDefaults13:

Public Types

typedef bool(* Point2Validator) (Point2 &)
 
- Public Types inherited from MarketDefaults
typedef bool(* FloatValidator) (float &)
 
typedef bool(* IntValidator) (int &)
 
typedef bool(* Point3Validator) (Point3 &)
 
typedef bool(* Point4Validator) (Point4 &)
 
typedef bool(* StringValidator) (MSTR &)
 
typedef bool(* AnimatableValidator) (Animatable *&)
 
typedef bool(* ClassIDValidator) (Class_ID &)
 

Public Member Functions

virtual Point2 GetPoint2 (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Point2 &defaultValue, Point2Validator validator=NULL, int dimension=DIM_NONE)=0
 
- Public Member Functions inherited from MarketDefaults
virtual CoreExport ~MarketDefaults ()
 
virtual int GetInt (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, int defaultValue, IntValidator validator=NULL, int dimension=DIM_NONE)=0
 
int GetTime (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, int defaultValue, IntValidator validator=NULL)
 
virtual float GetFloat (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, float defaultValue, FloatValidator validator=NULL, int dimension=DIM_NONE)=0
 
float GetAngle (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, float defaultValue, FloatValidator validator=NULL)
 
float GetPercentage (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, float defaultValue, FloatValidator validator=NULL)
 
float GetWorld (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, float defaultValue, FloatValidator validator=NULL)
 
float GetColorChannel (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, float defaultValue, FloatValidator validator=NULL)
 
virtual Point3 GetPoint3 (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Point3 &defaultValue, Point3Validator validator=NULL, int dimension=DIM_NONE)=0
 
Point3 GetRGBA (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Point3 &defaultValue, Point3Validator validator=NULL)
 
virtual Point4 GetPoint4 (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Point4 &defaultValue, Point4Validator validator=NULL, int dimension=DIM_NONE)=0
 
Point4 GetFRGBA (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Point4 &defaultValue, Point4Validator validator=NULL)
 
virtual MSTR GetString (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const MCHAR *defaultValue, StringValidator validator=NULL)=0
 
virtual Class_ID GetClassID (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Class_ID &defaultID, ClassIDValidator validator=NULL)=0
 
virtual AnimatableCreateInstance (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, SClass_ID superClass, const Class_ID &defaultInstance, AnimatableValidator validator=NULL)=0
 
CoreExport ReferenceTargetCreateRefTarget (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, SClass_ID superClass, const Class_ID &defaultInstance, AnimatableValidator validator=NULL)
 
CoreExport MtlCreateMtl (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Class_ID &defaultInstance, AnimatableValidator validator=NULL)
 
CoreExport TexmapCreateTexmap (SClass_ID objectSuperClass, const Class_ID &objectClass, const MCHAR *name, const Class_ID &defaultInstance, AnimatableValidator validator=NULL)
 
virtual bool SectionExists (const MCHAR *section)=0
 
virtual bool SectionExists (SClass_ID sid, const Class_ID &id)=0
 
virtual void SetSectionName (const MCHAR *section)=0
 
virtual void SetSectionName (SClass_ID sid, const Class_ID &id)=0
 
virtual const MCHARGetSectionName ()=0
 
virtual void DeleteSection (const MCHAR *section)=0
 
virtual void DeleteSection (SClass_ID sid, const Class_ID &id)=0
 
virtual bool KeyExists (const MCHAR *key)=0
 
virtual bool DeleteKey (const MCHAR *key)=0
 
virtual bool PutInt (const MCHAR *key, int val)=0
 
virtual bool PutIntArray (const MCHAR *key, int ct, const int *array)=0
 
virtual bool PutFloat (const MCHAR *key, float val)=0
 
virtual bool PutFloatArray (const MCHAR *key, int ct, const float *array)=0
 
virtual bool PutString (const MCHAR *key, const MCHAR *str)=0
 
virtual bool GetInt (const MCHAR *key, int &val)=0
 
virtual bool GetIntArray (const MCHAR *key, int &ct, int *array, int arrayCt)=0
 
virtual bool GetFloat (const MCHAR *key, float &val)=0
 
virtual bool GetFloatArray (const MCHAR *key, int &ct, float *array, int arrayCt)=0
 
virtual bool GetString (const MCHAR *key, MCHAR *buf, int bufSize)=0
 

Additional Inherited Members

- Static Public Member Functions inherited from MarketDefaults
static CoreExport bool CheckNULL (Animatable *&obj)
 
static CoreExport bool CheckNULL (MSTR &str)
 
static CoreExport bool CheckNULL (Class_ID &id)
 
- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Member Typedef Documentation

◆ Point2Validator

typedef bool(* Point2Validator) (Point2 &)

Member Function Documentation

◆ GetPoint2()

virtual Point2 GetPoint2 ( SClass_ID  objectSuperClass,
const Class_ID objectClass,
const MCHAR name,
const Point2 defaultValue,
Point2Validator  validator = NULL,
int  dimension = DIM_NONE 
)
pure virtual