fw4spl
|
Purpose: offer a first-class, comparable wrapper over std::type_info ( but copy construcible ) More...
#include <TypeInfo.hpp>
Public Member Functions | |
FWTOOLS_API | TypeInfo () |
default constructor | |
FWTOOLS_API | TypeInfo (const std::type_info &) |
copy constructor | |
FWTOOLS_API TypeInfo & | operator= (const TypeInfo &ti) |
copy method More... | |
FWTOOLS_API const std::type_info & | type_info () const |
access for the wrapped std::type_info More... | |
FWTOOLS_API | operator const std::type_info & () const |
cast operator TypeInfo -> std::type_info More... | |
FWTOOLS_API bool | before (const TypeInfo &rhs) const |
compatibility functions ( std::type_info like) More... | |
FWTOOLS_API const char * | name () const |
compatibility functions ( std::type_info like) More... | |
Purpose: offer a first-class, comparable wrapper over std::type_info ( but copy construcible )
Code imported from Loki-Library and adapted for FW4SPL
Definition at line 22 of file TypeInfo.hpp.
bool fwTools::TypeInfo::before | ( | const TypeInfo & | rhs | ) | const |
compatibility functions ( std::type_info like)
Definition at line 33 of file TypeInfo.cpp.
References SLM_ASSERT.
const char * fwTools::TypeInfo::name | ( | ) | const |
compatibility functions ( std::type_info like)
Definition at line 50 of file TypeInfo.cpp.
References SLM_ASSERT.
|
inline |
cast operator TypeInfo -> std::type_info
Definition at line 49 of file TypeInfo.hpp.
copy method
[in] | ti | the TypeInfo to copy |
Definition at line 58 of file TypeInfo.cpp.
References type_info().
const std::type_info & fwTools::TypeInfo::type_info | ( | ) | const |
access for the wrapped std::type_info
Definition at line 42 of file TypeInfo.cpp.
References SLM_ASSERT.
Referenced by fwTools::getString(), and operator=().