![]() |
MySQL 9.6.0
Source Code Documentation
|
String_counter subclass that can be instantiated. More...
#include <string_counter.h>
Public Member Functions | |
| Constructible_string_counter ()=default | |
Public Member Functions inherited from mysql::strconv::String_counter | |
| String_counter (const String_counter &)=delete | |
| String_counter (String_counter &&) noexcept=default | |
| String_counter & | operator= (const String_counter &)=delete |
| String_counter & | operator= (String_counter &&) noexcept=default |
| ~String_counter ()=default | |
| void | write_raw (const std::string_view &sv) |
Increment the size by sv.size(). More... | |
| void | write_char (int) |
| Increment the size by 1. More... | |
| void | write (const Is_format auto &format, const auto &object) |
| Increment the size by the size of the given object. More... | |
| void | write (const Is_format auto &format, const std::string_view &sv) |
| Increment the size by the size of the given string. More... | |
| void | advance (std::size_t size) |
Increment the size by size. More... | |
| std::size_t | size () const |
| Return the current size. More... | |
Public Member Functions inherited from mysql::strconv::detail::String_target_interface< String_counter > | |
| void | concat (const Is_format auto &format, const Args_t &...args) |
| Depending on the subclass, write or compute the size of multiple objects to this String_target. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from mysql::strconv::String_counter | |
| static constexpr Target_type | target_type = Target_type::counter |
Protected Member Functions inherited from mysql::strconv::String_counter | |
| String_counter ()=default | |
| Construct a new object. More... | |
Protected Member Functions inherited from mysql::strconv::detail::String_target_interface< String_counter > | |
| void | resolve_format_and_write (const Is_format auto &format, const Object_t &object) |
| Resolve the format, using the rules to deduce format based on default format and parent format, and write the given object using the resolved format. More... | |
String_counter subclass that can be instantiated.
We hide this in the detail namespace because the class is not supposed to be instantiated in user code, only in this framework.
|
default |