senf::TypeIdValue Class Reference

Wrapper to use types as key's in a map. More...

#include <senf/Utils/TypeIdValue.hh>

Inheritance diagram for senf::TypeIdValue:

Public Member Functions

bool operator== (TypeIdValue const &other) const
 
bool operator< (TypeIdValue const &other) const
 
std::string name () const
 
std::string prettyName () const
 
std::type_info const & id () const
 

Related Functions

(Note that these are not member functions.)

TypeIdValue const typeIdValue ()
 
template<class Type >
TypeIdValue const typeIdValue ()
 
template<class Type >
TypeIdValue const typeIdValue (Type const &ob)
 
std::ostream & operator<< (std::ostream &os, TypeIdValue const &v)
 

Structors and default members

 TypeIdValue ()
 
 TypeIdValue (std::type_info const &v)
 

Detailed Description

Wrapper to use types as key's in a map.

Definition at line 34 of file TypeIdValue.hh.

Constructor & Destructor Documentation

◆ TypeIdValue() [1/2]

senf::TypeIdValue::TypeIdValue ( )

◆ TypeIdValue() [2/2]

senf::TypeIdValue::TypeIdValue ( std::type_info const &  v)

Member Function Documentation

◆ id()

std::type_info const& senf::TypeIdValue::id ( ) const

◆ name()

std::string senf::TypeIdValue::name ( ) const

◆ operator<()

bool senf::TypeIdValue::operator< ( TypeIdValue const &  other) const

◆ operator==()

bool senf::TypeIdValue::operator== ( TypeIdValue const &  other) const

◆ prettyName()

std::string senf::TypeIdValue::prettyName ( ) const

Friends And Related Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
TypeIdValue const &  v 
)
related

◆ typeIdValue() [1/3]

TypeIdValue const typeIdValue ( )
related

◆ typeIdValue() [2/3]

template<class Type >
TypeIdValue const typeIdValue ( )
related

◆ typeIdValue() [3/3]

template<class Type >
TypeIdValue const typeIdValue ( Type const &  ob)
related

The documentation for this class was generated from the following file: