Template Function gpa::playback::detail::GetTypeId(TypeRegistry<>)

Function Documentation

template<typename T>
inline constexpr TypeId gpa::playback::detail::GetTypeId(TypeRegistry<> typeRegistry)

Gets the TypeId of a given type from a given TypeRegistry<>

Note

If the given type is not registered with this TypeRegistry<> the returned TypeId will be 0

Parameters
  • <T> -- The type to get the TypeId of

  • typeRegistry -- [in] The TypeRegistry<> to get the TypeId of the given type from

Returns

The TypeId of the given type