theplu::yat::utility::TypeInfo Class Reference

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

#include <yat/utility/TypeInfo.h>

List of all members.

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 ,
const TypeInfo  
) [related]

Equality comparison.

Returns:
true iff underlying std::type_info are equal

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

Ordering relation.

Returns:
true iff underlying lhs.get()<rhs.get()


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

Generated on Tue Jan 18 02:21:18 2011 for yat by  doxygen 1.5.5