#ifndef TEST_SAMPLE_H #define TEST_SAMPLE_H #include #include #include namespace test { namespace TabFoo_ { struct Delta { struct _alias_t { static constexpr const char _literal[] = "delta"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T delta; T& operator()() { return delta; } const T& operator()() const { return delta; } }; }; using _traits = sqlpp::make_traits; }; struct Epsilon { struct _alias_t { static constexpr const char _literal[] = "epsilon"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T epsilon; T& operator()() { return epsilon; } const T& operator()() const { return epsilon; } }; }; using _traits = sqlpp::make_traits; }; struct Omega { struct _alias_t { static constexpr const char _literal[] = "omega"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T omega; T& operator()() { return omega; } const T& operator()() const { return omega; } }; }; using _traits = sqlpp::make_traits; }; struct Psi { struct _alias_t { static constexpr const char _literal[] = "psi"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T psi; T& operator()() { return psi; } const T& operator()() const { return psi; } }; }; using _traits = sqlpp::make_traits; }; } struct TabFoo : sqlpp::table_t { struct _alias_t { static constexpr const char _literal[] = "tab_foo"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T tabFoo; T& operator()() { return tabFoo; } const T& operator()() const { return tabFoo; } }; }; }; namespace TabBar_ { struct Alpha { struct _alias_t { static constexpr const char _literal[] = "alpha"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T alpha; T& operator()() { return alpha; } const T& operator()() const { return alpha; } }; }; using _traits = sqlpp:: make_traits; }; struct Beta { struct _alias_t { static constexpr const char _literal[] = "beta"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T beta; T& operator()() { return beta; } const T& operator()() const { return beta; } }; }; using _traits = sqlpp::make_traits; }; struct Gamma { struct _alias_t { static constexpr const char _literal[] = "gamma"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T gamma; T& operator()() { return gamma; } const T& operator()() const { return gamma; } }; }; using _traits = sqlpp::make_traits; }; struct Delta { struct _alias_t { static constexpr const char _literal[] = "delta"; using _name_t = sqlpp::make_char_sequence; 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 { struct _alias_t { static constexpr const char _literal[] = "tab_bar"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T tabBar; T& operator()() { return tabBar; } const T& operator()() const { return tabBar; } }; }; }; namespace TabDateTime_ { struct ColDayPoint { struct _alias_t { static constexpr const char _literal[] = "col_day_point"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T colDayPoint; T& operator()() { return colDayPoint; } const T& operator()() const { return colDayPoint; } }; }; using _traits = sqlpp::make_traits; }; struct ColTimePoint { struct _alias_t { static constexpr const char _literal[] = "col_time_point"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T colTimePoint; T& operator()() { return colTimePoint; } const T& operator()() const { return colTimePoint; } }; }; using _traits = sqlpp::make_traits; }; struct ColTimeOfDay { struct _alias_t { static constexpr const char _literal[] = "col_time_of_day"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T colTimeOfDay; T& operator()() { return colTimeOfDay; } const T& operator()() const { return colTimeOfDay; } }; }; using _traits = sqlpp::make_traits; }; } struct TabDateTime : sqlpp::table_t { struct _alias_t { static constexpr const char _literal[] = "tab_time_point"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T tabDateTime; T& operator()() { return tabDateTime; } const T& operator()() const { return tabDateTime; } }; }; }; } #endif