libtenum
include/tenum/detail/type.hpp
Go to the documentation of this file.
00001 
00008 #ifndef TENUM_DETAIL_COMMON_HPP_
00009 #define TENUM_DETAIL_COMMON_HPP_
00010 
00011 #ifndef IN_TENUM_HPP_
00012 #  error "This header should not be included directly. Please use tenum.hpp."
00013 #endif
00014 
00015 #include <boost/config.hpp>
00016 #include <boost/preprocessor.hpp>
00017 
00024 #define TENUM_TYPE(type_m) \
00025   BOOST_PP_CAT(type_m,_t)
00026 
00033 #define TENUM_VALUE(type_m,value_m) \
00034   type_m :: value_m
00035 
00041 #define TENUM_VALUE_UNKNOWN(type_m) \
00042   TENUM_VALUE(type_m,lte_unknown)
00043 
00044 #endif /* TENUM_DETAIL_COMMON_HPP_ */
 All Classes Namespaces Files Functions Defines