C++ Actor Framework  0.18
Public Types | Static Public Member Functions | List of all members
caf::optional_inspector_access< T > Struct Template Reference

Provides inspector access for types that represent optional values. More...

#include <inspector_access.hpp>

Inheritance diagram for caf::optional_inspector_access< T >:
Inheritance graph
Collaboration diagram for caf::optional_inspector_access< T >:
Collaboration graph

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 apply_object (Inspector &f, container_type &x)
 
template<class Inspector >
static bool apply_value (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)
 

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: