/* * FormatParser_specializations_header.hpp * * Created on: Sep 27, 2011 * Author: heber */ #ifndef FORMATPARSER_SPECIALIZATIONS_HEADER_HPP_ #define FORMATPARSER_SPECIALIZATIONS_HEADER_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif // some preprocessor magic to forward declare all FormatParsers #include #include "ParserTypes.def" #define template_print(z,n,seq) \ template <> class FormatParser< \ BOOST_PP_SEQ_ELEM(n,seq) \ >; #if defined ParserTypes_END // do we have parameters at all? #define BOOST_PP_LOCAL_MACRO(n) template_print(~, n, PARSERSEQUENCE) #define BOOST_PP_LOCAL_LIMITS (0, ParserTypes_END-1) #include BOOST_PP_LOCAL_ITERATE() #endif #undef template_print #include "ParserTypes.undef" #endif /* FORMATPARSER_SPECIALIZATIONS_HEADER_HPP_ */