C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::default_type_id_mapper Class Reference

Dispatches to query_type_name and query_type_id. More...

#include <type_id.hpp>

Inheritance diagram for caf::default_type_id_mapper:
caf::type_id_mapper

Public Member Functions

std::string_view operator() (type_id_t type) const override
 Returns the type name for type or an empty string if type is an invalid ID.
 
type_id_t operator() (std::string_view name) const override
 Returns the type for name or invalid_type_id if name is unknown.
 

Detailed Description

Dispatches to query_type_name and query_type_id.

Member Function Documentation

◆ operator()() [1/2]

type_id_t caf::default_type_id_mapper::operator() ( std::string_view name) const
overridevirtual

Returns the type for name or invalid_type_id if name is unknown.

Implements caf::type_id_mapper.

◆ operator()() [2/2]

std::string_view caf::default_type_id_mapper::operator() ( type_id_t type) const
overridevirtual

Returns the type name for type or an empty string if type is an invalid ID.

Implements caf::type_id_mapper.


The documentation for this class was generated from the following files: