actor-framework
|
Base type for inspectors that save objects to some output sink. More...
#include <save_inspector.hpp>
Classes | |
struct | field_t |
struct | field_with_fallback_t |
struct | object_t |
struct | object_with_save_callback_t |
struct | optional_virt_field_t |
struct | virt_field_t |
struct | virt_field_with_fallback_t |
Public Member Functions | |
void | set_error (error stop_reason) |
template<class... Ts> | |
void | emplace_error (Ts &&... xs) |
const error & | get_error () const noexcept |
error && | move_error () noexcept |
template<class... Ts> | |
void | field_invariant_check_failed (std::string msg) |
template<class... Ts> | |
void | field_value_synchronization_failed (std::string msg) |
template<class... Ts> | |
void | invalid_field_type (std::string msg) |
Static Public Attributes | |
static constexpr bool | is_loading = false |
Enables dispatching on the inspector type. | |
Protected Attributes | |
error | err_ |
Base type for inspectors that save objects to some output sink.
Deriving from this class enables the inspector DSL.
object()
member function for the DSL.