PlayRho  2.0.0
An interactive physics engine & library.
TypeInfo.hpp File Reference

Definition of TypeID class and closely related code. More...

#include <cstring>
#include <type_traits>
#include <playrho/detail/TypeInfo.hpp>
Include dependency graph for TypeInfo.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  playrho::TypeID
 Type identifier. More...
 

Namespaces

 playrho
 

Functions

const char * playrho::GetName (const TypeID &id) noexcept
 Gets the name associated with the given type ID.
 
template<typename T >
TypeID playrho::GetTypeID () noexcept
 Gets the type ID for the function's template parameter type with its name demangled.
 
template<typename T >
TypeID playrho::GetTypeID (const T &) noexcept
 Gets the type ID for the function parameter type with its name demangled.
 
template<typename T >
constexpr const char * playrho::GetTypeName () noexcept
 Gets the name associated with the given template parameter type.
 

Detailed Description

Definition of TypeID class and closely related code.