vdj_pipe
pipeline for processing DNA sequence data
Macros
keyword_struct_macro.hpp File Reference
#include "boost/preprocessor/seq/for_each.hpp"
#include "boost/preprocessor/stringize.hpp"
Include dependency graph for keyword_struct_macro.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VDJ_PIPE_STATIC_STRING_METHOD(name, val)
 
#define VDJ_PIPE_KEYWORD_STRUCT_MACRO_(r, data, elem)
 
#define VDJ_PIPE_KEYWORD_STRUCT(name, list)
 

Detailed Description

part of vdj_pipe project.

Distributed under GNU General Public License, Version 3; see doc/license.txt.
Copyright Mikhail K Levin 2014

Macro Definition Documentation

#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; \
} \
/* */