File indexing completed on 2025-01-18 09:42:42
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_MYSQL_IMPL_FIELD_KIND_IPP
0009 #define BOOST_MYSQL_IMPL_FIELD_KIND_IPP
0010
0011 #pragma once
0012
0013 #include <boost/mysql/field_kind.hpp>
0014
0015 #include <ostream>
0016
0017 std::ostream& boost::mysql::operator<<(std::ostream& os, boost::mysql::field_kind v)
0018 {
0019 switch (v)
0020 {
0021 case field_kind::null: return os << "null";
0022 case field_kind::int64: return os << "int64";
0023 case field_kind::uint64: return os << "uint64";
0024 case field_kind::string: return os << "string";
0025 case field_kind::float_: return os << "float_";
0026 case field_kind::double_: return os << "double_";
0027 case field_kind::date: return os << "date";
0028 case field_kind::datetime: return os << "datetime";
0029 case field_kind::time: return os << "time";
0030 default: return os << "<invalid>";
0031 }
0032 }
0033
0034 #endif