maxscript/foundation/functions.h File Reference

  • Main Page
  • Topics
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members
functions.h File Reference
Classes | Macros | Enumerations | Functions
#include "arrays.h"
#include "../../ifnpub.h"
#include "../../GetCOREInterface.h"

Classes

struct  DumpValueData
 
class  Function
 
class  CallContext
 
class  ScopedPushCallContext
 Class that uses the RAII idiom to push/pop a CallContext. More...
 
class  Generic
 
class  MappedGeneric
 
class  NodeGeneric
 
class  Primitive
 
class  MappedPrimitive
 
class  MAXScriptFunction
 
class  StructMethod
 
class  SMCallContext
 
class  PluginMethod
 
class  UserProp
 
class  UserGeneric
 
class  UserGenericValue
 
class  InterfaceFunction
 
class  ValueConverter
 
class  InterfaceMethod
 
class  ActionPredicate
 
class  IObjectValue
 
class  FPInterfaceValue
 
class  FPMixinInterfaceValue
 
class  FPStaticMethodInterfaceValue
 
class  StaticInterfaceMethod
 

Macros

#define def_generic(fn, name)   ScripterExport Value* fn##_vf(Value** arglist, int arg_count)
 
#define FPS_CACHE_SIZE   512
 
#define is_function(v)   ((v)->_is_function())
 
#define is_maxscriptfunction(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(MAXScriptFunction))
 
#define FN_MAPPED_FN   0x0001
 
#define FN_BODY_FN   0x0002
 
#define FN_HAS_REFARGS   0x0004
 
#define FN_MAPPED_EVAL   0x0008
 
#define is_structMethod(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == INTERNAL_STRUCT_METHOD_TAG)
 
#define is_pluginMethod(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == INTERNAL_MSPLUGIN_METHOD_TAG)
 
#define def_user_prop(_prop, _cls, _getter, _setter)   _cls##_class.add_user_prop(_M(#_prop), _getter, _setter)
 
#define def_user_generic(_fn, _cls, _name)   _cls##_class.add_user_generic(_T(#_name), _fn)
 
#define VALUECONVERTER_INTERFACE_ID   Interface_ID(0x19f37b9f, 0x39ed5680)
 
#define is_iobject(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(IObjectValue))
 
#define is_fpstaticinterface(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(FPInterfaceValue))
 
#define is_fpmixininterface(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(FPMixinInterfaceValue))
 
#define is_fpstaticmethodinterface(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(FPStaticMethodInterfaceValue))
 

Enumerations

enum  primitive_flag { LAZY_PRIMITIVE = 0x0001, DEBUGGER_SAFE = 0x0002 }
 

Functions

ScripterExport void print_FP_interface (CharStream *out, FPInterface *fpi, bool getPropNames=true, bool getMethodNames=true, bool getInterfaceNames=true, bool getActionTables=true)
 

Macro Definition Documentation

#define def_generic (   fn,
  name 
)    ScripterExport Value* fn##_vf(Value** arglist, int arg_count)
#define FPS_CACHE_SIZE   512
#define is_function (   v)    ((v)->_is_function())
#define is_maxscriptfunction (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(MAXScriptFunction))
#define FN_MAPPED_FN   0x0001
#define FN_BODY_FN   0x0002
#define FN_HAS_REFARGS   0x0004
#define FN_MAPPED_EVAL   0x0008
#define is_structMethod (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == INTERNAL_STRUCT_METHOD_TAG)
#define is_pluginMethod (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == INTERNAL_MSPLUGIN_METHOD_TAG)
#define def_user_prop (   _prop,
  _cls,
  _getter,
  _setter 
)    _cls##_class.add_user_prop(_M(#_prop), _getter, _setter)
#define def_user_generic (   _fn,
  _cls,
  _name 
)    _cls##_class.add_user_generic(_T(#_name), _fn)
#define VALUECONVERTER_INTERFACE_ID   Interface_ID(0x19f37b9f, 0x39ed5680)
#define is_iobject (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(IObjectValue))
#define is_fpstaticinterface (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(FPInterfaceValue))
#define is_fpmixininterface (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(FPMixinInterfaceValue))
#define is_fpstaticmethodinterface (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(FPStaticMethodInterfaceValue))

Enumeration Type Documentation

enum primitive_flag
Enumerator
LAZY_PRIMITIVE 
DEBUGGER_SAFE 
138 {
139  LAZY_PRIMITIVE = 0x0001, // don't pre-evaluate args for lazy primitives
140  DEBUGGER_SAFE = 0x0002, // safe to call from debugger
141 };
DEBUGGER_SAFE
Definition: functions.h:140
LAZY_PRIMITIVE
Definition: functions.h:139

Function Documentation

ScripterExport void print_FP_interface ( CharStream *  out,
FPInterface *  fpi,
bool  getPropNames = true,
bool  getMethodNames = true,
bool  getInterfaceNames = true,
bool  getActionTables = true 
)
Please send us your comment about this page