mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-01 10:41:22 -06:00
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,6 +24,8 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen_h
|
||||
#define _sqlpp__ppgen_h
|
||||
|
||||
@@ -78,111 +80,141 @@
|
||||
/***************************************************************************/
|
||||
// tools
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) BOOST_PP_TUPLE_ELEM(0, BOOST_PP_EXPAND table)
|
||||
#define SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) \
|
||||
BOOST_PP_TUPLE_ELEM(0, BOOST_PP_EXPAND table)
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GET_TABLE_PROPS(table) SQLPP_BOOST_PP_TUPLE_POP_FRONT(BOOST_PP_EXPAND table)
|
||||
#define SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(col) \
|
||||
BOOST_PP_TUPLE_ELEM(0, col)
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(col) BOOST_PP_TUPLE_ELEM(0, col)
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_ENUM_COLUMNS(unused, table, elem) , table::SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem)
|
||||
#define SQLPP_DECLARE_TABLE_ENUM_COLUMNS(unused, table, elem) \
|
||||
,table::SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem)
|
||||
|
||||
/***************************************************************************/
|
||||
// columns
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_AUX(unused, size, idx, elem) \
|
||||
BOOST_PP_CAT(SQLPP_DECLARE_COLUMN_GEN_TRAITS_, BOOST_PP_CAT(SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_, elem))(elem) \
|
||||
BOOST_PP_COMMA_IF(BOOST_PP_LESS(BOOST_PP_ADD(idx, 1), size))
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_AUX(unused, size, idx, elem) \
|
||||
BOOST_PP_CAT( \
|
||||
SQLPP_DECLARE_COLUMN_GEN_TRAITS_ \
|
||||
,BOOST_PP_CAT(SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_, elem) \
|
||||
)(elem) \
|
||||
BOOST_PP_COMMA_IF(BOOST_PP_LESS(BOOST_PP_ADD(idx, 1), size))
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS(props) \
|
||||
BOOST_PP_SEQ_FOR_EACH_I(SQLPP_DECLARE_COLUMN_GEN_TRAITS_AUX, BOOST_PP_TUPLE_SIZE(props), BOOST_PP_TUPLE_TO_SEQ(props))
|
||||
BOOST_PP_SEQ_FOR_EACH_I( \
|
||||
SQLPP_DECLARE_COLUMN_GEN_TRAITS_AUX \
|
||||
,BOOST_PP_TUPLE_SIZE(props) \
|
||||
,BOOST_PP_TUPLE_TO_SEQ(props) \
|
||||
)
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN(unused, data, elem) \
|
||||
struct SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem) \
|
||||
{ \
|
||||
struct _alias_t \
|
||||
{ \
|
||||
static constexpr const char _literal[] = BOOST_PP_STRINGIZE(SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem)); \
|
||||
using _name_t = sqlpp::make_char_sequence<sizeof(_literal), _literal>; \
|
||||
\
|
||||
template <typename T> \
|
||||
struct _member_t \
|
||||
{ \
|
||||
T SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem); \
|
||||
\
|
||||
T& operator()() \
|
||||
{ \
|
||||
return SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem); \
|
||||
} \
|
||||
const T& operator()() const \
|
||||
{ \
|
||||
return SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem); \
|
||||
} \
|
||||
}; /* struct _member_t */ \
|
||||
}; /* struct _alias_t */ \
|
||||
\
|
||||
using _traits = sqlpp::make_traits<SQLPP_DECLARE_COLUMN_GEN_TRAITS(SQLPP_BOOST_PP_TUPLE_POP_FRONT(elem))>; \
|
||||
\
|
||||
#define SQLPP_DECLARE_COLUMN(unused, data, elem) \
|
||||
struct SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem) \
|
||||
{ \
|
||||
struct _alias_t \
|
||||
{ \
|
||||
static constexpr const char _literal[] = \
|
||||
BOOST_PP_STRINGIZE(SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem)); \
|
||||
using _name_t = sqlpp::make_char_sequence<sizeof(_literal), _literal>; \
|
||||
\
|
||||
template <typename T> \
|
||||
struct _member_t \
|
||||
{ \
|
||||
T SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem); \
|
||||
\
|
||||
T& operator()() \
|
||||
{ \
|
||||
return SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem); \
|
||||
} \
|
||||
const T& operator()() const \
|
||||
{ \
|
||||
return SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem); \
|
||||
} \
|
||||
}; /* struct _member_t */ \
|
||||
}; /* struct _alias_t */ \
|
||||
\
|
||||
using _traits = sqlpp::make_traits< \
|
||||
SQLPP_DECLARE_COLUMN_GEN_TRAITS(SQLPP_BOOST_PP_TUPLE_POP_FRONT(elem)) \
|
||||
>; \
|
||||
}; /* struct SQLPP_DECLARE_COLUMN_GET_COLUMN_NAME(elem) */
|
||||
|
||||
/***************************************************************************/
|
||||
// table props
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GEN_PROPS_AUX(unused1, unused2, elem) \
|
||||
BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GEN_, BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_PROC_LAZY_, elem))(elem)
|
||||
BOOST_PP_CAT( \
|
||||
SQLPP_DECLARE_TABLE_GEN_ \
|
||||
,BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_PROC_LAZY_, elem) \
|
||||
)(elem)
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GEN_PROPS(table) \
|
||||
BOOST_PP_SEQ_FOR_EACH(SQLPP_DECLARE_TABLE_GEN_PROPS_AUX, ~, \
|
||||
BOOST_PP_TUPLE_TO_SEQ(SQLPP_BOOST_PP_TUPLE_POP_FRONT(table)))
|
||||
#define SQLPP_DECLARE_TABLE_GEN_PROPS(table) \
|
||||
BOOST_PP_SEQ_FOR_EACH( \
|
||||
SQLPP_DECLARE_TABLE_GEN_PROPS_AUX \
|
||||
,~ \
|
||||
,BOOST_PP_TUPLE_TO_SEQ(SQLPP_BOOST_PP_TUPLE_POP_FRONT(table)) \
|
||||
)
|
||||
|
||||
/***************************************************************************/
|
||||
// main
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_IMPL(table, cols) \
|
||||
namespace SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) \
|
||||
{ \
|
||||
namespace BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table), _) \
|
||||
{ \
|
||||
BOOST_PP_SEQ_FOR_EACH(SQLPP_DECLARE_COLUMN, ~, cols) \
|
||||
} /* namespace BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table), _) */ \
|
||||
\
|
||||
struct SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) \
|
||||
: sqlpp::table_t<SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) BOOST_PP_SEQ_FOR_EACH( \
|
||||
SQLPP_DECLARE_TABLE_ENUM_COLUMNS, BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table), _), cols)> \
|
||||
{ \
|
||||
BOOST_PP_IF(BOOST_PP_LESS(BOOST_PP_TUPLE_SIZE(table), 2), \
|
||||
BOOST_PP_TUPLE_EAT(), \
|
||||
SQLPP_DECLARE_TABLE_GEN_PROPS)(BOOST_PP_EXPAND table) \
|
||||
\
|
||||
struct _alias_t \
|
||||
{ \
|
||||
static constexpr const char _literal[] = BOOST_PP_STRINGIZE(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table)); \
|
||||
using _name_t = sqlpp::make_char_sequence<sizeof(_literal), _literal>; \
|
||||
\
|
||||
template <typename T> \
|
||||
struct _member_t \
|
||||
{ \
|
||||
T SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table); \
|
||||
\
|
||||
T& operator()() \
|
||||
{ \
|
||||
return SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table); \
|
||||
} \
|
||||
const T& operator()() const \
|
||||
{ \
|
||||
return SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table); \
|
||||
} \
|
||||
\
|
||||
}; /* struct _member_t */ \
|
||||
\
|
||||
}; /* struct _alias_t */ \
|
||||
\
|
||||
}; /* struct SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) */ \
|
||||
#define SQLPP_DECLARE_TABLE_IMPL(table, cols) \
|
||||
namespace SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) \
|
||||
{ \
|
||||
namespace BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table), _) \
|
||||
{ \
|
||||
BOOST_PP_SEQ_FOR_EACH( \
|
||||
SQLPP_DECLARE_COLUMN \
|
||||
,~ \
|
||||
,cols \
|
||||
) \
|
||||
} /* namespace BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table), _) */ \
|
||||
\
|
||||
struct SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) \
|
||||
: sqlpp::table_t< \
|
||||
SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) \
|
||||
BOOST_PP_SEQ_FOR_EACH( \
|
||||
SQLPP_DECLARE_TABLE_ENUM_COLUMNS \
|
||||
,BOOST_PP_CAT(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table), _) \
|
||||
,cols \
|
||||
) \
|
||||
> \
|
||||
{ \
|
||||
BOOST_PP_IF( \
|
||||
BOOST_PP_LESS(BOOST_PP_TUPLE_SIZE(table), 2) \
|
||||
,BOOST_PP_TUPLE_EAT() \
|
||||
,SQLPP_DECLARE_TABLE_GEN_PROPS \
|
||||
)(BOOST_PP_EXPAND table) \
|
||||
\
|
||||
struct _alias_t \
|
||||
{ \
|
||||
static constexpr const char _literal[] = \
|
||||
BOOST_PP_STRINGIZE(SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table)); \
|
||||
using _name_t = sqlpp::make_char_sequence<sizeof(_literal), _literal>; \
|
||||
\
|
||||
template <typename T> \
|
||||
struct _member_t \
|
||||
{ \
|
||||
T SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table); \
|
||||
\
|
||||
T& operator()() \
|
||||
{ \
|
||||
return SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table); \
|
||||
} \
|
||||
const T& operator()() const \
|
||||
{ \
|
||||
return SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table); \
|
||||
} \
|
||||
\
|
||||
}; /* struct _member_t */ \
|
||||
}; /* struct _alias_t */ \
|
||||
}; /* struct SQLPP_DECLARE_TABLE_GET_TABLE_NAME(table) */ \
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
#define SQLPP_DECLARE_TABLE(table, cols) \
|
||||
SQLPP_DECLARE_TABLE_IMPL(BOOST_PP_CAT(SQLPP_WRAP_SEQUENCE_X table, 0), BOOST_PP_CAT(SQLPP_WRAP_SEQUENCE_X cols, 0))
|
||||
#define SQLPP_DECLARE_TABLE(table, cols) \
|
||||
SQLPP_DECLARE_TABLE_IMPL( \
|
||||
BOOST_PP_CAT(SQLPP_WRAP_SEQUENCE_X table, 0) \
|
||||
,BOOST_PP_CAT(SQLPP_WRAP_SEQUENCE_X cols, 0) \
|
||||
)
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,12 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__auto_increment_h
|
||||
#define _sqlpp__ppgen__colops__auto_increment_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_AUTO_INCREMENT \
|
||||
PROC_SQLPP_AUTO_INCREMENT
|
||||
PROC_SQLPP_AUTO_INCREMENT
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_AUTO_INCREMENT(...) \
|
||||
::sqlpp::tag::must_not_insert, ::sqlpp::tag::must_not_update
|
||||
::sqlpp::tag::must_not_insert, ::sqlpp::tag::must_not_update
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__auto_increment_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,19 +24,29 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__blob_h
|
||||
#define _sqlpp__ppgen__colops__blob_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_tinyblob PROC_tinyblob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_tinyblob(...) ::sqlpp::blob
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_tinyblob \
|
||||
PROC_tinyblob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_tinyblob(...) \
|
||||
::sqlpp::blob
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_blob PROC_blob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_blob(...) ::sqlpp::blob
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_blob \
|
||||
PROC_blob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_blob(...) \
|
||||
::sqlpp::blob
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_mediumblob PROC_mediumblob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_mediumblob(...) ::sqlpp::blob
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_mediumblob \
|
||||
PROC_mediumblob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_mediumblob(...) \
|
||||
::sqlpp::blob
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_longblob PROC_longblob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_longblob(...) ::sqlpp::blob
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_longblob \
|
||||
PROC_longblob
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_longblob(...) \
|
||||
::sqlpp::blob
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__blob_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__bool_h
|
||||
#define _sqlpp__ppgen__colops__bool_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_bool PROC_bool
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_bool(...) ::sqlpp::boolean
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_bool \
|
||||
PROC_bool
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_bool(...) \
|
||||
::sqlpp::boolean
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__bool_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__comment_h
|
||||
#define _sqlpp__ppgen__colops__comment_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_COMMENT PROC_SQLPP_COMMENT
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_COMMENT(str) [COMMENT is not implemented]
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_COMMENT \
|
||||
PROC_SQLPP_COMMENT
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_COMMENT(str) \
|
||||
[COMMENT is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__comment_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,12 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__datetime_h
|
||||
#define _sqlpp__ppgen__colops__datetime_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_datetime \
|
||||
PROC_datetime
|
||||
PROC_datetime
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_datetime(...) \
|
||||
[datetime is not implemented]
|
||||
[datetime is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__datetime_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__default_h
|
||||
#define _sqlpp__ppgen__colops__default_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_DEFAULT PROC_SQLPP_DEFAULT
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_DEFAULT(...) [DEFAULT is not implemented]
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_DEFAULT \
|
||||
PROC_SQLPP_DEFAULT
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_DEFAULT(...) \
|
||||
[DEFAULT is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__default_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,13 +24,19 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__floating_point_h
|
||||
#define _sqlpp__ppgen__colops__floating_point_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_float PROC_float
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_float(...) ::sqlpp::floating_point
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_float \
|
||||
PROC_float
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_float(...) \
|
||||
::sqlpp::floating_point
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_double PROC_double
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_double(...) ::sqlpp::floating_point
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_double \
|
||||
PROC_double
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_double(...) \
|
||||
::sqlpp::floating_point
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__floating_point_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,13 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__foreign_key_h
|
||||
#define _sqlpp__ppgen__colops__foreign_key_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_FOREIGN_KEY PROC_SQLPP_FOREIGN_KEY
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_FOREIGN_KEY \
|
||||
PROC_SQLPP_FOREIGN_KEY
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_FOREIGN_KEY(keyname, tblname, colname) \
|
||||
[FOREIGN KEY is not implemented]
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__index_h
|
||||
#define _sqlpp__ppgen__colops__index_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_INDEX PROC_SQLPP_INDEX
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_INDEX(indexname, tblname, /* cols */...) [INDEX is not implemented]
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_INDEX \
|
||||
PROC_SQLPP_INDEX
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_INDEX(indexname, tblname, /* cols */...) \
|
||||
[INDEX is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__index_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,19 +24,29 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__integer_h
|
||||
#define _sqlpp__ppgen__colops__integer_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_tinyint PROC_tinyint
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_tinyint(...) ::sqlpp::tinyint
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_tinyint \
|
||||
PROC_tinyint
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_tinyint(...) \
|
||||
::sqlpp::tinyint
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_smallint PROC_smallint
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_smallint(...) ::sqlpp::smallint
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_smallint \
|
||||
PROC_smallint
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_smallint(...) \
|
||||
::sqlpp::smallint
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_int PROC_int
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_int(...) ::sqlpp::integer
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_int \
|
||||
PROC_int
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_int(...) \
|
||||
::sqlpp::integer
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_bigint PROC_bigint
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_bigint(...) ::sqlpp::bigint
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_bigint \
|
||||
PROC_bigint
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_bigint(...) \
|
||||
::sqlpp::bigint
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__integer_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__not_null_h
|
||||
#define _sqlpp__ppgen__colops__not_null_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_NOT_NULL PROC_SQLPP_NOT_NULL
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_NOT_NULL(...) ::sqlpp::tag::require_insert
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_NOT_NULL \
|
||||
PROC_SQLPP_NOT_NULL
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_NOT_NULL(...) \
|
||||
::sqlpp::tag::require_insert
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__not_null_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__null_h
|
||||
#define _sqlpp__ppgen__colops__null_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_NULL PROC_SQLPP_NULL
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_NULL(...) ::sqlpp::tag::can_be_null
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_NULL \
|
||||
PROC_SQLPP_NULL
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_NULL(...) \
|
||||
::sqlpp::tag::can_be_null
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__null_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,11 +24,13 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__primary_key_h
|
||||
#define _sqlpp__ppgen__colops__primary_key_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_PRIMARY_KEY \
|
||||
PROC_SQLPP_PRIMARY_KEY
|
||||
PROC_SQLPP_PRIMARY_KEY
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_PRIMARY_KEY(...) \
|
||||
::sqlpp::tag::must_not_update
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__text_h
|
||||
#define _sqlpp__ppgen__colops__text_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_text PROC_text
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_text(...) ::sqlpp::text
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_text \
|
||||
PROC_text
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_text(...) \
|
||||
::sqlpp::text
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__text_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,12 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__timestamp_h
|
||||
#define _sqlpp__ppgen__colops__timestamp_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_timestamp \
|
||||
PROC_timestamp
|
||||
PROC_timestamp
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_timestamp(...) \
|
||||
[timestamp is not implemented]
|
||||
[timestamp is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__timestamp_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,13 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__unique_index_h
|
||||
#define _sqlpp__ppgen__colops__unique_index_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_UNIQUE_INDEX PROC_SQLPP_UNIQUE_INDEX
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_SQLPP_UNIQUE_INDEX \
|
||||
PROC_SQLPP_UNIQUE_INDEX
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_SQLPP_UNIQUE_INDEX(indexname, tblname, /* cols */...) \
|
||||
[UNIQUE INDEX is not implemented]
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__colops__varchar_h
|
||||
#define _sqlpp__ppgen__colops__varchar_h
|
||||
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_varchar(str) PROC_varchar
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_varchar(str) ::sqlpp::varchar
|
||||
#define SQLPP_DECLARE_COLUMN_GET_TRAITS_LAZY_varchar(str) \
|
||||
PROC_varchar
|
||||
#define SQLPP_DECLARE_COLUMN_GEN_TRAITS_PROC_varchar(str) \
|
||||
::sqlpp::varchar
|
||||
|
||||
#endif // _sqlpp__ppgen__colops__varchar_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__tblops__character_set_h
|
||||
#define _sqlpp__ppgen__tblops__character_set_h
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GET_PROC_LAZY_SQLPP_CHARACTER_SET PROC_SQLPP_CHARACTER_SET
|
||||
#define SQLPP_DECLARE_TABLE_GEN_PROC_SQLPP_CHARACTER_SET(str) [CHARACTER_SET is not implemented]
|
||||
#define SQLPP_DECLARE_TABLE_GET_PROC_LAZY_SQLPP_CHARACTER_SET \
|
||||
PROC_SQLPP_CHARACTER_SET
|
||||
#define SQLPP_DECLARE_TABLE_GEN_PROC_SQLPP_CHARACTER_SET(str) \
|
||||
[CHARACTER_SET is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__tblops__character_set_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__tblops__comment_h
|
||||
#define _sqlpp__ppgen__tblops__comment_h
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GET_TRAITS_LAZY_SQLPP_COMMENT PROC_SQLPP_COMMENT
|
||||
#define SQLPP_DECLARE_TABLE_GEN_TRAITS_PROC_SQLPP_COMMENT(str) [COMMENT is not implemented]
|
||||
#define SQLPP_DECLARE_TABLE_GET_TRAITS_LAZY_SQLPP_COMMENT \
|
||||
PROC_SQLPP_COMMENT
|
||||
#define SQLPP_DECLARE_TABLE_GEN_TRAITS_PROC_SQLPP_COMMENT(str) \
|
||||
[COMMENT is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__tblops__comment_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__tblops__default_h
|
||||
#define _sqlpp__ppgen__tblops__default_h
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GET_TRAITS_LAZY_SQLPP_DEFAULT PROC_SQLPP_DEFAULT
|
||||
#define SQLPP_DECLARE_TABLE_GEN_TRAITS_PROC_SQLPP_DEFAULT(...) [DEFAULT is not implemented]
|
||||
#define SQLPP_DECLARE_TABLE_GET_TRAITS_LAZY_SQLPP_DEFAULT \
|
||||
PROC_SQLPP_DEFAULT
|
||||
#define SQLPP_DECLARE_TABLE_GEN_TRAITS_PROC_SQLPP_DEFAULT(...) \
|
||||
[DEFAULT is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__tblops__default_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,10 +24,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__tblops__engine_h
|
||||
#define _sqlpp__ppgen__tblops__engine_h
|
||||
|
||||
#define SQLPP_DECLARE_TABLE_GET_PROC_LAZY_SQLPP_ENGINE PROC_SQLPP_ENGINE
|
||||
#define SQLPP_DECLARE_TABLE_GEN_PROC_SQLPP_ENGINE(str) [ENGINE is not implemented]
|
||||
#define SQLPP_DECLARE_TABLE_GET_PROC_LAZY_SQLPP_ENGINE \
|
||||
PROC_SQLPP_ENGINE
|
||||
#define SQLPP_DECLARE_TABLE_GEN_PROC_SQLPP_ENGINE(str) \
|
||||
[ENGINE is not implemented]
|
||||
|
||||
#endif // _sqlpp__ppgen__tblops__engine_h
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
/* See http://www.boost.org for most recent version. */
|
||||
|
||||
// clang-format off
|
||||
|
||||
# ifndef SQLPP_BOOST_PREPROCESSOR_TUPLE_POP_FRONT_HPP
|
||||
# define SQLPP_BOOST_PREPROCESSOR_TUPLE_POP_FRONT_HPP
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2015, niXman (i dot nixman dog gmail dot com)
|
||||
* Copyright (c) 2014-2017, niXman (i dot nixman dog gmail dot com)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,13 +24,15 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef _sqlpp__ppgen__tools__wrap_seq_h
|
||||
#define _sqlpp__ppgen__tools__wrap_seq_h
|
||||
|
||||
#define SQLPP_WRAP_SEQUENCE_X(...) \
|
||||
((__VA_ARGS__)) SQLPP_WRAP_SEQUENCE_Y
|
||||
((__VA_ARGS__)) SQLPP_WRAP_SEQUENCE_Y
|
||||
#define SQLPP_WRAP_SEQUENCE_Y(...) \
|
||||
((__VA_ARGS__)) SQLPP_WRAP_SEQUENCE_X
|
||||
((__VA_ARGS__)) SQLPP_WRAP_SEQUENCE_X
|
||||
|
||||
#define SQLPP_WRAP_SEQUENCE_X0
|
||||
#define SQLPP_WRAP_SEQUENCE_Y0
|
||||
|
||||
Reference in New Issue
Block a user