53 constexpr std::array<std::pair<std::string_view, dataType>, 6>
dataTypeTable = {{
63 return (c >=
'A' && c <=
'Z') ?
static_cast<char>(c + (
'a' -
'A')) : c;
67 if (lhs.size() != rhs.size()) {
70 for (std::size_t i = 0; i < lhs.size(); ++i) {
78 constexpr std::optional<dataType>
parseDataType(std::string_view typeName) {
98 constexpr std::array<std::string_view, 2> dataModeNames = {
103 const auto index =
static_cast<std::underlying_type_t<dataMode>
>(mode);
104 if (index < 0 ||
static_cast<std::size_t
>(index) >= dataModeNames.size()) {
108 return dataModeNames[
static_cast<std::size_t
>(index)];
constexpr char toLowerAscii(char c)
std::variant< float, double, short, long, char, std::string > variant_t
constexpr std::string_view getDataModeString(dataMode mode)
constexpr std::optional< dataType > parseDataType(std::string_view typeName)
constexpr std::array< std::pair< std::string_view, dataType >, 6 > dataTypeTable
constexpr bool equalsIgnoreCase(std::string_view lhs, std::string_view rhs)
std::vector< variant_t > columnData_t
constexpr std::string_view getDataTypeString(dataType type)