STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
type_index Class Reference

Public Member Functions

 type_index (const _XSTD2 type_info &_Tinfo) _NOEXCEPT
 
size_t hash_code () const _NOEXCEPT
 
const char * name () const _NOEXCEPT
 
bool operator== (const type_index &_Right) const _NOEXCEPT
 
bool operator!= (const type_index &_Right) const _NOEXCEPT
 
bool operator< (const type_index &_Right) const _NOEXCEPT
 
bool operator>= (const type_index &_Right) const _NOEXCEPT
 
bool operator> (const type_index &_Right) const _NOEXCEPT
 
bool operator<= (const type_index &_Right) const _NOEXCEPT
 

Private Attributes

const _XSTD2 type_info_Tptr
 

Constructor & Destructor Documentation

type_index::type_index ( const _XSTD2 type_info _Tinfo)
inline
22  : _Tptr(&_Tinfo)
23  { // construct from type_info
24  }
const _XSTD2 type_info * _Tptr
Definition: typeindex:67

Member Function Documentation

size_t type_index::hash_code ( ) const
inline
27  { // return hash value
28  return (_Tptr->hash_code());
29  }
size_t hash_code() const
Definition: vcruntime_typeinfo.h:69
const _XSTD2 type_info * _Tptr
Definition: typeindex:67
const char* type_index::name ( ) const
inline
32  { // return name
33  return (_Tptr->name());
34  }
char const * name() const
Definition: vcruntime_typeinfo.h:89
const _XSTD2 type_info * _Tptr
Definition: typeindex:67
bool type_index::operator!= ( const type_index _Right) const
inline
42  { // test if *this != _Right
43  return (!(*this == _Right));
44  }
bool type_index::operator< ( const type_index _Right) const
inline
47  { // test if *this < _Right
48  return (_Tptr->before(*_Right._Tptr));
49  }
const _XSTD2 type_info * _Tptr
Definition: typeindex:67
bool before(type_info const &_Other) const
Definition: vcruntime_typeinfo.h:84
bool type_index::operator<= ( const type_index _Right) const
inline
62  { // test if *this <= _Right
63  return (!(_Right < *this));
64  }
bool type_index::operator== ( const type_index _Right) const
inline
37  { // test if *this == _Right
38  return (*_Tptr == *_Right._Tptr);
39  }
const _XSTD2 type_info * _Tptr
Definition: typeindex:67
bool type_index::operator> ( const type_index _Right) const
inline
57  { // test if *this > _Right
58  return (_Right < *this);
59  }
bool type_index::operator>= ( const type_index _Right) const
inline
52  { // test if *this >= _Right
53  return (!(*this < _Right));
54  }

Member Data Documentation

const _XSTD2 type_info* type_index::_Tptr
private

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