![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <TypeInfo.hpp>


Public Member Functions | |
| TypeInfo & | operator= (const TypeInfo &other) |
| Assignment operator (due to dynamic members). | |
| TypeInfo (const TypeInfo &other) | |
| Copy c'tor (due to dynamic members). | |
| TypeInfo (const std::type_info &type) | |
| Constructor, but consider to use the more convinient TypeInfo::create() methods. | |
type_info interface | |
| bool | before (const TypeInfo &other) const |
| Forward the before() method of type_info. | |
| const char * | name () const |
| returns the mangled C++ name of the type | |
Operators | |
| bool | operator!= (const TypeInfo &other) const |
| bool | operator< (const TypeInfo &other) const |
| bool | operator<= (const TypeInfo &other) const |
| bool | operator== (const TypeInfo &other) const |
| bool | operator> (const TypeInfo &other) const |
| bool | operator>= (const TypeInfo &other) const |
Static Public Member Functions | |
Creation of TypeInfo | |
| template<typename T> | |
| static TypeInfo | create (const T &t) |
| Type creation from objects: TypeInfo::create(foo). | |
| template<typename T> | |
| static TypeInfo | create () |
| Type creation from type (in templates): TypeInfo::create<Foo>(). | |
Private Member Functions | |
| virtual std::string | doToString () const |
| Returns the demangled C++ name of the class. | |
| TypeInfo () | |
| Private default c'tor, may not be used ... | |
Private Attributes | |
| const std::type_info * | type_ |
| Keeps the pointer to the original type_info. | |
Definition at line 52 of file TypeInfo.hpp.
| wns::TypeInfo::TypeInfo | ( | const std::type_info & | type | ) | [inline, explicit] |
Definition at line 61 of file TypeInfo.hpp.
| wns::TypeInfo::TypeInfo | ( | const TypeInfo & | other | ) | [inline] |
Definition at line 69 of file TypeInfo.hpp.
| wns::TypeInfo::TypeInfo | ( | ) | [private] |
Definition at line 96 of file TypeInfo.hpp.
| static TypeInfo wns::TypeInfo::create | ( | const T & | t | ) | [inline, static] |
Definition at line 177 of file TypeInfo.hpp.
| static TypeInfo wns::TypeInfo::create | ( | ) | [inline, static] |
Definition at line 166 of file TypeInfo.hpp.
| virtual std::string wns::TypeInfo::doToString | ( | ) | const [inline, private, virtual] |
| const char* wns::TypeInfo::name | ( | ) | const [inline] |
Definition at line 108 of file TypeInfo.hpp.
Definition at line 125 of file TypeInfo.hpp.
Definition at line 131 of file TypeInfo.hpp.
Definition at line 137 of file TypeInfo.hpp.
Definition at line 79 of file TypeInfo.hpp.
Definition at line 119 of file TypeInfo.hpp.
Definition at line 143 of file TypeInfo.hpp.
Definition at line 149 of file TypeInfo.hpp.
const std::type_info* wns::TypeInfo::type_ [private] |
Definition at line 196 of file TypeInfo.hpp.
1.5.5