libcaf  0.16.3
Public Attributes | List of all members
caf::config_option::meta_state Struct Reference

Custom vtable-like struct for delegating to type-specific functions and storing type-specific information shared by several config options. More...

#include <config_option.hpp>

Public Attributes

error(* check )(const config_value &)
 Checks whether a value matches the option's type.
 
void(* store )(void *, const config_value &)
 Stores a value in the given location.
 
config_value(* get )(const void *)
 Tries to extrac a value from the given location. More...
 
std::string type_name
 Human-readable name of the option's type.
 

Detailed Description

Custom vtable-like struct for delegating to type-specific functions and storing type-specific information shared by several config options.

Member Data Documentation

◆ get

config_value(* caf::config_option::meta_state::get) (const void *)

Tries to extrac a value from the given location.

Exists for backward compatibility only and will get removed with CAF 0.17.


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