#ifndef TEST_SAMPLE_H #define TEST_SAMPLE_H #include #include namespace test { namespace TabFoo_ { struct Delta { struct _name_t { static constexpr const char* _get_name() { return "delta"; } template struct _member_t { T delta; T& operator()() { return delta; } const T& operator()() const { return delta; } }; }; using _traits = sqlpp::make_traits; }; struct Epsilon { struct _name_t { static constexpr const char* _get_name() { return "epsilon"; } template struct _member_t { T epsilon; T& operator()() { return epsilon; } const T& operator()() const { return epsilon; } }; }; using _traits = sqlpp::make_traits; }; struct Omega { struct _name_t { static constexpr const char* _get_name() { return "omega"; } template struct _member_t { T omega; T& operator()() { return omega; } const T& operator()() const { return omega; } }; }; using _traits = sqlpp::make_traits; }; } struct TabFoo: sqlpp::table_t { using _value_type = sqlpp::no_value_t; struct _name_t { static constexpr const char* _get_name() { return "tab_foo"; } template struct _member_t { T tabFoo; T& operator()() { return tabFoo; } const T& operator()() const { return tabFoo; } }; }; }; namespace TabBar_ { struct Alpha { struct _name_t { static constexpr const char* _get_name() { return "alpha"; } template struct _member_t { T alpha; T& operator()() { return alpha; } const T& operator()() const { return alpha; } }; }; using _traits = sqlpp::make_traits; }; struct Beta { struct _name_t { static constexpr const char* _get_name() { return "beta"; } template struct _member_t { T beta; T& operator()() { return beta; } const T& operator()() const { return beta; } }; }; using _traits = sqlpp::make_traits; }; struct Gamma { struct _name_t { static constexpr const char* _get_name() { return "gamma"; } template struct _member_t { T gamma; T& operator()() { return gamma; } const T& operator()() const { return gamma; } }; }; using _traits = sqlpp::make_traits; }; struct Delta { struct _name_t { static constexpr const char* _get_name() { return "delta"; } template struct _member_t { T delta; T& operator()() { return delta; } const T& operator()() const { return delta; } }; }; using _traits = sqlpp::make_traits; }; } struct TabBar: sqlpp::table_t { using _value_type = sqlpp::no_value_t; struct _name_t { static constexpr const char* _get_name() { return "tab_bar"; } template struct _member_t { T tabBar; T& operator()() { return tabBar; } const T& operator()() const { return tabBar; } }; }; }; } #endif