#include "boost/preprocessor/seq/for_each.hpp"
#include "boost/preprocessor/stringize.hpp"
Go to the source code of this file.
|
#define | VDJ_PIPE_STATIC_STRING_METHOD(name, val) |
|
#define | VDJ_PIPE_KEYWORD_STRUCT_MACRO_(r, data, elem) |
|
#define | VDJ_PIPE_KEYWORD_STRUCT(name, list) |
|
part of vdj_pipe project.
Distributed under GNU General Public License, Version 3; see doc/license.txt.
Copyright Mikhail K Levin 2014
#define VDJ_PIPE_KEYWORD_STRUCT |
( |
|
name, |
|
|
|
list |
|
) |
| |
Value:struct name { \
BOOST_PP_SEQ_FOR_EACH(VDJ_PIPE_KEYWORD_STRUCT_MACRO_, ,list) \
} \
#define VDJ_PIPE_KEYWORD_STRUCT_MACRO_ |
( |
|
r, |
|
|
|
data, |
|
|
|
elem |
|
) |
| |
Value:VDJ_PIPE_STATIC_STRING_METHOD(elem, BOOST_PP_STRINGIZE(elem)) \
#define VDJ_PIPE_STATIC_STRING_METHOD |
( |
|
name, |
|
|
|
val |
|
) |
| |
Value:static std::string const& name() { \
static const std::string s = val; return s; \
} \