![]() |
MySQL 9.6.0
Source Code Documentation
|
Tag to identify the formatting algorithm for nested sets, using the given format tags for the key type and the mapped type, respectively. More...
#include <nested_set_text_format.h>
Public Types | |
| using | Key_format_t = Key_format_tp |
| using | Mapped_format_t = Mapped_format_tp |
Public Member Functions | |
| Nested_set_text_format (const Key_format_t &key_format=Key_format_t{}, const Mapped_format_t &mapped_format=Mapped_format_t{}, std::string_view item_separator=",", std::string_view key_mapped_separator=":") | |
| Nested_set_text_format (const Text_format &) | |
| constexpr auto | parent () const |
Public Attributes | |
| const Key_format_t | m_key_format |
| const Mapped_format_t | m_mapped_format |
| std::string_view | m_item_separator |
| std::string_view | m_key_mapped_separator |
Tag to identify the formatting algorithm for nested sets, using the given format tags for the key type and the mapped type, respectively.
Also holds the separator strings used between key and mapped object, and between one key-mapped pair and another key-mapped pair.
| using mysql::strconv::Nested_set_text_format< Key_format_tp, Mapped_format_tp >::Key_format_t = Key_format_tp |
| using mysql::strconv::Nested_set_text_format< Key_format_tp, Mapped_format_tp >::Mapped_format_t = Mapped_format_tp |
|
inlineexplicit |
|
inlineexplicit |
|
inlineconstexpr |
| std::string_view mysql::strconv::Nested_set_text_format< Key_format_tp, Mapped_format_tp >::m_item_separator |
| const Key_format_t mysql::strconv::Nested_set_text_format< Key_format_tp, Mapped_format_tp >::m_key_format |
| std::string_view mysql::strconv::Nested_set_text_format< Key_format_tp, Mapped_format_tp >::m_key_mapped_separator |
| const Mapped_format_t mysql::strconv::Nested_set_text_format< Key_format_tp, Mapped_format_tp >::m_mapped_format |