#ifndef __CPPLUGINS__INTERFACE__MACROS__H__ #define __CPPLUGINS__INTERFACE__MACROS__H__ #include /** * Based upon: http://www.itk.org/Wiki/Proposals:Explicit_Instantiation */ // ------------------------------------------------------------------------- #define cpPlugins_TEMPLATE_1( X1 ) \ X1 #define cpPlugins_TEMPLATE_2( X1, X2 ) \ X1,X2 #define cpPlugins_TEMPLATE_3( X1, X2, X3 ) \ X1,X2,X3 #define cpPlugins_TEMPLATE_4( X1, X2, X3, X4 ) \ X1,X2,X3,X4 #define cpPlugins_TEMPLATE_5( X1, X2, X3, X4, X5 ) \ X1,X2,X3,X4,X5 #define cpPlugins_TEMPLATE_6( X1, X2, X3, X4, X5, X6 ) \ X1,X2,X3,X4,X5,X6 #define cpPlugins_TEMPLATE_7( X1, X2, X3, X4, X5, X6, X7 ) \ X1,X2,X3,X4,X5,X6,X7 #define cpPlugins_TEMPLATE_8( X1, X2, X3, X4, X5, X6, X7, X8 ) \ X1,X2,X3,X4,X5,X6,X7,X8 #define cpPlugins_TEMPLATE_9( X1, X2, X3, X4, X5, X6, X7, X8, X9 ) \ X1,X2,X3,X4,X5,X6,X7,X8,X9 #define cpPlugins_TEMPLATE_EXPORT( X ) \ template cpPlugins_TEMPLATE_##X; #define cpPlugins_TEMPLATE_IMPORT( X ) \ extern template cpPlugins_TEMPLATE_##X; #endif // __CPPLUGINS__INTERFACE__MACROS__H__ // eof - $RCSfile$