// generated by ../scripts/ddl2cpp ../test_static_asserts/AssertTables.sql ../test_static_asserts/AssertTables test #ifndef TEST_ASSERTTABLES_H #define TEST_ASSERTTABLES_H #include #include #include namespace test { namespace TabAllTypes_ { struct SomeString { struct _alias_t { static constexpr const char _literal[] = "some_string"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T someString; T& operator()() { return someString; } const T& operator()() const { return someString; } }; }; using _traits = sqlpp::make_traits; }; struct SomeInt { struct _alias_t { static constexpr const char _literal[] = "some_int"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T someInt; T& operator()() { return someInt; } const T& operator()() const { return someInt; } }; }; using _traits = sqlpp::make_traits; }; struct SomeFloat { struct _alias_t { static constexpr const char _literal[] = "some_float"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T someFloat; T& operator()() { return someFloat; } const T& operator()() const { return someFloat; } }; }; using _traits = sqlpp::make_traits; }; struct SomeBool { struct _alias_t { static constexpr const char _literal[] = "some_bool"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T someBool; T& operator()() { return someBool; } const T& operator()() const { return someBool; } }; }; using _traits = sqlpp::make_traits; }; struct SomeDayPoint { struct _alias_t { static constexpr const char _literal[] = "some_day_point"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T someDayPoint; T& operator()() { return someDayPoint; } const T& operator()() const { return someDayPoint; } }; }; using _traits = sqlpp::make_traits; }; struct SomeTimePoint { struct _alias_t { static constexpr const char _literal[] = "some_time_point"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T someTimePoint; T& operator()() { return someTimePoint; } const T& operator()() const { return someTimePoint; } }; }; using _traits = sqlpp::make_traits; }; struct OtherString { struct _alias_t { static constexpr const char _literal[] = "other_string"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T otherString; T& operator()() { return otherString; } const T& operator()() const { return otherString; } }; }; using _traits = sqlpp::make_traits; }; struct OtherInt { struct _alias_t { static constexpr const char _literal[] = "other_int"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T otherInt; T& operator()() { return otherInt; } const T& operator()() const { return otherInt; } }; }; using _traits = sqlpp::make_traits; }; struct OtherFloat { struct _alias_t { static constexpr const char _literal[] = "other_float"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T otherFloat; T& operator()() { return otherFloat; } const T& operator()() const { return otherFloat; } }; }; using _traits = sqlpp::make_traits; }; struct OtherBool { struct _alias_t { static constexpr const char _literal[] = "other_bool"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T otherBool; T& operator()() { return otherBool; } const T& operator()() const { return otherBool; } }; }; using _traits = sqlpp::make_traits; }; struct OtherDayPoint { struct _alias_t { static constexpr const char _literal[] = "other_day_point"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T otherDayPoint; T& operator()() { return otherDayPoint; } const T& operator()() const { return otherDayPoint; } }; }; using _traits = sqlpp::make_traits; }; struct OtherTimePoint { struct _alias_t { static constexpr const char _literal[] = "other_time_point"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T otherTimePoint; T& operator()() { return otherTimePoint; } const T& operator()() const { return otherTimePoint; } }; }; using _traits = sqlpp::make_traits; }; } struct TabAllTypes : sqlpp::table_t { struct _alias_t { static constexpr const char _literal[] = "tab_all_types"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T tabAllTypes; T& operator()() { return tabAllTypes; } const T& operator()() const { return tabAllTypes; } }; }; }; } #endif