actor-framework
Public Types | Public Member Functions | List of all members
caf::load_inspector_base< Subtype > Class Template Reference
Inheritance diagram for caf::load_inspector_base< Subtype >:
Inheritance graph
[legend]
Collaboration diagram for caf::load_inspector_base< Subtype >:
Collaboration graph
[legend]

Public Types

using super = load_inspector
 

Public Member Functions

template<class T >
constexpr auto object (T &) noexcept
 
constexpr auto virtual_object (std::string_view type_name) noexcept
 
template<class T >
bool begin_object_t ()
 
template<class T >
bool list (T &xs)
 
template<class T >
bool map (T &xs)
 
template<class T , size_t... Is>
bool tuple (T &xs, std::index_sequence< Is... >)
 
template<class T >
bool tuple (T &xs)
 
template<class T , size_t N>
bool tuple (T(&xs)[N])
 
template<class T >
bool apply (T &x)
 
template<class Get , class Set >
bool apply (Get &&get, Set &&set)
 Deserializes a primitive value with getter / setter access.
 
- Public Member Functions inherited from caf::load_inspector
void set_error (error stop_reason)
 
template<class... Ts>
void emplace_error (Ts &&... xs)
 
const errorget_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)
 

Additional Inherited Members

- Static Public Member Functions inherited from caf::load_inspector
template<class T >
static auto field (std::string_view name, T &x)
 
template<class Get , class Set >
static auto field (std::string_view name, Get get, Set set)
 
template<class IsPresent , class Get , class Reset , class Set >
static auto field (std::string_view name, IsPresent &&, Get &&get, Reset reset, Set set)
 
- Static Public Attributes inherited from caf::load_inspector
static constexpr bool is_loading = true
 Enables dispatching on the inspector type.
 
- Protected Attributes inherited from caf::load_inspector
error err_
 

The documentation for this class was generated from the following file: