yat  0.18pre
Public Member Functions | Related Functions | List of all members
theplu::yat::utility::TypeInfo Class Reference

Wrapper class for storing std::type_info. More...

#include <yat/utility/TypeInfo.h>

Public Member Functions

 TypeInfo (void)
 Constructor.
 
 TypeInfo (const std::type_info &)
 Constructor.
 
const std::type_info & get (void) const
 
std::string name (void) const
 
TypeInfooperator= (const TypeInfo &)
 assignment operator
 

Related Functions

(Note that these are not member functions.)

bool operator== (const TypeInfo &, const TypeInfo &)
 Equality comparison. More...
 
bool operator!= (const TypeInfo &, const TypeInfo &)
 Based on operator==.
 
bool operator< (const TypeInfo &lhs, const TypeInfo &rhs)
 Ordering relation. More...
 
bool operator<= (const TypeInfo &, const TypeInfo &)
 Based on operators == and <.
 
bool operator> (const TypeInfo &, const TypeInfo &)
 Based on operator <.
 
bool operator>= (const TypeInfo &, const TypeInfo &)
 Based on operator <=.
 

Detailed Description

Wrapper class for storing std::type_info.

Member Function Documentation

const std::type_info& theplu::yat::utility::TypeInfo::get ( void  ) const
Returns
stored type_info
std::string theplu::yat::utility::TypeInfo::name ( void  ) const
Returns
name of type

Friends And Related Function Documentation

bool operator< ( const TypeInfo lhs,
const TypeInfo rhs 
)
related

Ordering relation.

Returns
true iff underlying lhs.get()<rhs.get()
bool operator== ( const TypeInfo ,
const TypeInfo  
)
related

Equality comparison.

Returns
true iff underlying std::type_info are equal

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

Generated on Sun Sep 27 2020 02:26:14 for yat by  doxygen 1.8.11