yat  0.10.4pre
Public Member Functions | Related Functions
theplu::yat::utility::TypeInfo Class Reference

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

#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/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 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 Mon Nov 11 2013 09:41:46 for yat by  doxygen 1.8.1