local_class_instantiations.h

Go to the documentation of this file.
00001 /*  
00002  *  local_class_instantiations.h -  generic function instantiation macros for MAXScript SDK plug-ins
00003  */
00004 
00005 #include "ClassCfg.h"
00006 #include "..\util\IMXSDebugger.h"
00007 
00008 #ifdef def_local_generic
00009 #   undef def_local_generic
00010 #   undef def_local_generic_debug_ok
00011 #   undef use_local_generic
00012 #endif
00013 #ifdef use_generic
00014 #   undef use_generic
00015 #endif
00016 
00017 
00018 #pragma pointers_to_members(full_generality, virtual_inheritance)
00019 
00020 #define def_local_generic(fn, name)                                     \
00021     MS_LOCAL_GENERIC_CLASS fn##_gf (_M(name), &MS_LOCAL_ROOT_CLASS::fn##_vf)
00022 #define def_local_generic_debug_ok(fn, name)                                        \
00023     MS_LOCAL_GENERIC_CLASS fn##_gf (_M(name), &MS_LOCAL_ROOT_CLASS::fn##_vf)
00024 #define use_generic(fn, name)
00025 #define use_local_generic(fn, name)
00026 
00027 #undef def_name
00028 #define def_name(name) Value* n_##name;