yat  0.11.3pre
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.
 
bool operator!= (const TypeInfo &, const TypeInfo &)
 Based on operator==.
 
bool operator< (const TypeInfo &lhs, const TypeInfo &rhs)
 Ordering relation.
 
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 Sat May 24 2014 03:33:06 for yat by  doxygen 1.8.2