3ds Max C++ API Reference
local_abstract_generic_functions.h File Reference
#include "ClassCfg.h"

Macros

#define def_local_generic(fn, name)    virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }
 
#define def_local_generic_debug_ok(fn, name)    virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }
 
#define use_generic(fn, name)
 
#define use_local_generic(fn, name)
 
#define ABSTRACT_FUNCTION(m, v, t)   throw NoMethodError (m, v); return (t)0
 
#define ABSTRACT_CONVERTER(t, l)   throw ConversionError (this, _M(#l)); return (t)0
 
#define ABSTRACT_WIDENER(a)   throw IncompatibleTypes (this, a); return (Value*)&undefined
 

Macro Definition Documentation

◆ def_local_generic

#define def_local_generic (   fn,
  name 
)     virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }

◆ def_local_generic_debug_ok

#define def_local_generic_debug_ok (   fn,
  name 
)     virtual Value* fn##_vf(Value** arglist, int arg_count) { ABSTRACT_FUNCTION(_M(#name), this, Value*); }

◆ use_generic

#define use_generic (   fn,
  name 
)

◆ use_local_generic

#define use_local_generic (   fn,
  name 
)

◆ ABSTRACT_FUNCTION

#define ABSTRACT_FUNCTION (   m,
  v,
 
)    throw NoMethodError (m, v); return (t)0

◆ ABSTRACT_CONVERTER

#define ABSTRACT_CONVERTER (   t,
 
)    throw ConversionError (this, _M(#l)); return (t)0

◆ ABSTRACT_WIDENER

#define ABSTRACT_WIDENER (   a)    throw IncompatibleTypes (this, a); return (Value*)&undefined