Jpp
18.2.1-ARCA-DF-PATCH
the software that should make you happy
|
This class is a wrapper around the STL type_info class. More...
#include <JTypeInfo.hh>
Public Member Functions | |
JTypeInfo () | |
Default constructor. More... | |
JTypeInfo (const std::type_info &type) | |
Constructor. More... | |
const std::type_info & | get () const |
Get type information. More... | |
bool | less (const JTypeInfo &that) const |
Less than operation. More... | |
bool | before (const JTypeInfo &type) const |
Evaluate order. More... | |
const char * | name () const |
Get type name. More... | |
Private Attributes | |
const std::type_info * | pType |
This class is a wrapper around the STL type_info class.
It is possible to create a list of objects of this class.
Source code is taken from reference: A. Alexandrescu, Modern C++ Design, Addison Wesley.
Definition at line 27 of file JTypeInfo.hh.
|
inline |
|
inline |
|
inline |
Get type information.
Definition at line 57 of file JTypeInfo.hh.
|
inline |
Less than operation.
that | object to be compared |
Definition at line 72 of file JTypeInfo.hh.
|
inline |
Evaluate order.
type | type information |
Definition at line 84 of file JTypeInfo.hh.
|
inline |
|
private |
Definition at line 102 of file JTypeInfo.hh.