OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AbstractBufferMgr.h File Reference
#include <boost/preprocessor.hpp>
#include "AbstractBuffer.h"
#include "Shared/types.h"
+ Include dependency graph for AbstractBufferMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define X_DEFINE_ENUM_WITH_STRING_CONVERSIONS_TOSTRING_CASE(r, data, elem)
 
#define DEFINE_ENUM_WITH_STRING_CONVERSIONS(name, enumerators)
 

Macro Definition Documentation

#define DEFINE_ENUM_WITH_STRING_CONVERSIONS (   name,
  enumerators 
)
Value:
enum name { BOOST_PP_SEQ_ENUM(enumerators) }; \
\
inline const char* ToString(name v) { \
switch (v) { \
BOOST_PP_SEQ_FOR_EACH( \
return "[Unknown " BOOST_PP_STRINGIZE(name) "]"; \
} \
}
#define X_DEFINE_ENUM_WITH_STRING_CONVERSIONS_TOSTRING_CASE(r, data, elem)
string name
Definition: setup.in.py:72

Definition at line 32 of file AbstractBufferMgr.h.

#define X_DEFINE_ENUM_WITH_STRING_CONVERSIONS_TOSTRING_CASE (   r,
  data,
  elem 
)
Value:
case elem: \
return BOOST_PP_STRINGIZE(elem);

Definition at line 28 of file AbstractBufferMgr.h.