C++ Actor Framework 0.19
|
Translates between human-readable type names and type IDs. More...
#include <type_id.hpp>
Public Member Functions | |
virtual std::string_view | operator() (type_id_t type) const =0 |
Returns the type name for type or an empty string if type is an invalid ID. | |
virtual type_id_t | operator() (std::string_view name) const =0 |
Returns the type for name or invalid_type_id if name is unknown. | |
Translates between human-readable type names and type IDs.
|
pure virtual |
Returns the type for name
or invalid_type_id
if name
is unknown.
Implemented in caf::default_type_id_mapper.
|
pure virtual |
Returns the type name for type
or an empty string if type
is an invalid ID.
Implemented in caf::default_type_id_mapper.