C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::optional_inspector_access< T > Struct Template Reference

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, std::string_view field_name, container_type &x)
 
template<class Inspector , class IsPresent , class Get >
static bool save_field (Inspector &f, std::string_view field_name, IsPresent &is_present, Get &get)
 
template<class Inspector , class IsValid , class SyncValue >
static bool load_field (Inspector &f, std::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, std::string_view field_name, container_type &x, IsValid &is_valid, SyncValue &sync_value, SetFallback &set_fallback)
 

Detailed Description

template<class T>
struct caf::optional_inspector_access< T >

Provides inspector access for types that represent optional values.


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