17 #ifndef HH_SENF_Utils_TypeIdValue_ 18 #define HH_SENF_Utils_TypeIdValue_ 1 23 #include <boost/scoped_ptr.hpp> 24 #include <boost/operators.hpp> 34 class TypeIdValue :
public boost::totally_ordered<TypeIdValue>
56 std::string
name()
const;
59 std::type_info
const &
id()
const;
64 std::type_info
const * p_;
std::string prettyName() const
std::type_info const & id() const
std::ostream & operator<<(std::ostream &os, TypeIdValue const &v)
Wrapper to use types as key's in a map.
bool operator==(TypeIdValue const &other) const
TypeIdValue const typeIdValue()
bool operator<(TypeIdValue const &other) const