libcaf
0.16.3
|
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. | |
Custom vtable-like struct for delegating to type-specific functions and storing type-specific information shared by several config options.
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.