![]() |
MySQL 9.6.0
Source Code Documentation
|
Tag to identify the formatting algorithm for boundary sets of integrals, and provide the separator strings and logic to skip whitespace around tokens. More...
#include <boundary_set_text_format.h>
Public Member Functions | |
| Boundary_set_text_format (const std::string_view &boundary_separator="-", const std::string_view &interval_separator=",", Allow_redundant_separators allow_redundant_separators=Allow_redundant_separators::yes, Allow_empty allow_empty=Allow_empty::yes, Skip_whitespace skip_whitespace_arg=Skip_whitespace::yes) noexcept | |
| Boundary_set_text_format (const Text_format &) noexcept | |
| constexpr auto | parent () const |
| Fallback to Text_format to read/write types that don't have encode_impl/decode_impl implemented for Boundary_set_text_format. More... | |
| void | before_token (Parser &parser) const |
| Skip whitespace before tokens, if m_skip_whitespace == true. More... | |
| void | after_token (Parser &parser) const |
| Skip whitespace after tokens, if m_skip_whitespace == true. More... | |
Public Attributes | |
| std::string_view | m_boundary_separator |
| Separator between start and end of a single interval. More... | |
| std::string_view | m_interval_separator |
| Separator between end of one interval and start of next interval. More... | |
| Allow_redundant_separators | m_allow_redundant_separators |
| When true, accept and skip extra interval separators before and after intervals. More... | |
| Allow_empty | m_allow_empty |
| When true, accept the empty set. More... | |
| Skip_whitespace | m_skip_whitespace |
| When true, accept and skip whitespace between tokens. More... | |
Tag to identify the formatting algorithm for boundary sets of integrals, and provide the separator strings and logic to skip whitespace around tokens.
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inline |
Skip whitespace after tokens, if m_skip_whitespace == true.
|
inline |
Skip whitespace before tokens, if m_skip_whitespace == true.
|
inlineconstexpr |
Fallback to Text_format to read/write types that don't have encode_impl/decode_impl implemented for Boundary_set_text_format.
| Allow_empty mysql::strconv::Boundary_set_text_format::m_allow_empty |
When true, accept the empty set.
| Allow_redundant_separators mysql::strconv::Boundary_set_text_format::m_allow_redundant_separators |
When true, accept and skip extra interval separators before and after intervals.
| std::string_view mysql::strconv::Boundary_set_text_format::m_boundary_separator |
Separator between start and end of a single interval.
| std::string_view mysql::strconv::Boundary_set_text_format::m_interval_separator |
Separator between end of one interval and start of next interval.
| Skip_whitespace mysql::strconv::Boundary_set_text_format::m_skip_whitespace |
When true, accept and skip whitespace between tokens.