C++ Actor Framework 0.18
|
Provides inspector access for types that represent optional values. More...
#include <inspector_access.hpp>
Public Types | |
using | traits = optional_inspector_traits< T > |
using | container_type = typename traits::container_type |
using | value_type = typename traits::value_type |
Static Public Member Functions | |
template<class Inspector > | |
static bool | apply (Inspector &f, container_type &x) |
template<class Inspector > | |
static bool | save_field (Inspector &f, string_view field_name, container_type &x) |
template<class Inspector , class IsPresent , class Get > | |
static bool | save_field (Inspector &f, string_view field_name, IsPresent &is_present, Get &get) |
template<class Inspector , class IsValid , class SyncValue > | |
static bool | load_field (Inspector &f, string_view field_name, container_type &x, IsValid &is_valid, SyncValue &sync_value) |
template<class Inspector , class IsValid , class SyncValue , class SetFallback > | |
static bool | load_field (Inspector &f, string_view field_name, container_type &x, IsValid &is_valid, SyncValue &sync_value, SetFallback &set_fallback) |
Provides inspector access for types that represent optional values.