ReFRACtor
|
This is a wrapper around std::type_info that allows it to be used as an index in a associative container. More...
#include <fp_type_index.h>
Public Member Functions | |
type_index () | |
Default constructor. More... | |
type_index (std::type_info const &id) | |
Constructor. More... | |
std::string | name () const |
Return type name. More... | |
bool | operator< (type_index const &other) const |
Comparison operator. More... | |
bool | operator== (type_index const &other) const |
Comparison operator. More... | |
This is a wrapper around std::type_info that allows it to be used as an index in a associative container.
This is actually in cxx11, but we don't want to depend on using a cxx11 compiler. When these become more the standard compiler, we can replace this class with std::type_info.
Definition at line 20 of file fp_type_index.h.
|
inline |
Default constructor.
Definition at line 27 of file fp_type_index.h.
|
inline |
Constructor.
Definition at line 33 of file fp_type_index.h.
|
inline |
Return type name.
Definition at line 53 of file fp_type_index.h.
|
inline |
Comparison operator.
Definition at line 46 of file fp_type_index.h.
|
inline |
Comparison operator.
Definition at line 39 of file fp_type_index.h.