src/checkpoint/dispatch/type_registry.h file

Namespaces

namespace checkpoint
namespace checkpoint::dispatch
namespace checkpoint::dispatch::typeregistry

Classes

template<typename ObjT>
struct checkpoint::dispatch::typeregistry::Registrar
template<typename ObjT>
struct checkpoint::dispatch::typeregistry::Type

Typedefs

using DecodedIndex = std::uint32_t
using TypeNames = std::unordered_map<DecodedIndex, std::string>
using TypeIndex = std::uint16_t
using DeadType = std::uint32_t

Functions

auto demangle(const char* name) -> std::string
auto getRegisteredNames() -> TypeNames&
auto getIndex() -> TypeIndex
auto validateIndex(const DecodedIndex index) -> bool
template<typename ObjT>
auto getTypeIdx() -> DecodedIndex
auto getTypeNameForIdx(DecodedIndex const typeIdx) -> std::string const &
template<typename ObjT>
auto getTypeName() -> std::string const &

Variables

static DeadType dead_mask constexpr
static DeadType dead_mark constexpr