Cross-platform implementation of deserializer backend using ASCII-only strings. More...
#include <eagine/serialize/string_backend.hpp>
Public Member Functions | |
| auto | enum_as_string () -> bool final |
| @brie Indicates if the backed stores enumerators as strings (or numeric values). | |
| auto | begin () -> result final |
| Starts the deserialization of a potentially complex structured value. | |
| auto | begin_struct (span_size_t &count) -> result final |
| Begins the deserialization of a structure instance. | |
| auto | begin_member (string_view name) -> result final |
| Begins the deserialization of a structure data member. | |
| auto | finish_member (string_view) -> result final |
| Finishes the deserialization of a structure data member. | |
| auto | finish_struct () -> result final |
| Finishes the deserialization of a structure instance. | |
| auto | begin_list (span_size_t &count) -> result final |
| Begins the deserialization of a container instance. | |
| auto | begin_element (span_size_t) -> result final |
| Begins the deserialization of a container element. | |
| auto | finish_element (span_size_t) -> result final |
| Finishes the deserialization of a container element. | |
| auto | finish_list () -> result final |
| Finishes the deserialization of a container instance. | |
| auto | finish () -> result final |
| Finishes the deserialization of a potentially complex structured value. | |
Public Member Functions inherited from eagine::serializer_backend_id< common_deserializer_backend< string_deserializer_backend >, EAGINE_ID_V(String)> | |
| auto | type_id () -> identifier final |
Public Member Functions inherited from eagine::common_deserializer_backend< string_deserializer_backend > | |
| common_deserializer_backend () noexcept=default | |
| Default constructor. | |
| common_deserializer_backend (deserializer_data_source &source) noexcept | |
| Construction from a reference to a Source. | |
| auto | set_source (deserializer_data_source &s) noexcept -> string_deserializer_backend & |
| Sets a reference to a new Source object. | |
Public Member Functions inherited from eagine::interface< deserializer_backend > | |
| constexpr | interface (const interface &)=delete |
| Not copyable. | |
| auto | operator= (interface &&)=delete |
| Not move assignable. | |
| auto | operator= (const interface &)=delete |
| Not copy assignable. | |
Additional Inherited Members | |
Public Types inherited from eagine::deserializer_backend | |
| using | result = deserialization_errors |
| Alias for the deserialization operations result type. | |
Protected Member Functions inherited from eagine::interface< deserializer_backend > | |
| constexpr | interface () noexcept=default |
| Default constructible by derived. | |
| constexpr | interface (interface &&) noexcept=default |
| Move constructible by derived. | |
Cross-platform implementation of deserializer backend using ASCII-only strings.