|
Jpp test-rotations-old
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. | |
| JTypeInfo (const std::type_info &type) | |
| Constructor. | |
| const std::type_info & | get () const |
| Get type information. | |
| bool | less (const JTypeInfo &that) const |
| Less than operation. | |
| bool | before (const JTypeInfo &type) const |
| Evaluate order. | |
| const char * | name () const |
| Get type name. | |
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 |
Default constructor.
Definition at line 34 of file JTypeInfo.hh.
|
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.