templates.thrift_cpp.client.schema.interface_config.h.vm Maven / Gradle / Ivy
#parse("thrift_cpp/include/cxx_schema_include.vm")
#parse("thrift_cpp/include/cxx.helper.vm")
#set( $output_basename = "${interfaceName}_config")
#set( $output_filename = "${output_basename}.h")
$codewriter.setCurrentCxxFilename($output_filename)
$header_begin
#ifndef ${UP_IF_NAME}_DLL_DECL
# if defined(_WIN32) && !defined(__CYGWIN__) && !defined(${UP_IF_NAME}_STATIC)
# if defined(${UP_IF_NAME}_EXPORTS)
# define ${UP_IF_NAME}_DLL_DECL __declspec(dllexport)
# else
# define ${UP_IF_NAME}_DLL_DECL __declspec(dllimport)
# endif
# else
# define ${UP_IF_NAME}_DLL_DECL
# endif
#endif
\#if __cplusplus >= 201103L || _MSC_VER >= 1900
// c++11 support
\#else
#error UNSUPPORTED compiler,C++11 compiler required,for MSVC compiler,VS2015 or above required
#endif
$header_end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy