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 type_info &_Tinfo) _NOEXCEPT
 
size_t hash_code () const _NOEXCEPT
 
const charname () 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 type_info_Tptr
 

Constructor & Destructor Documentation

type_index::type_index ( const type_info _Tinfo)
inline
19  : _Tptr(&_Tinfo)
20  { // construct from type_info
21  }
const type_info * _Tptr
Definition: typeindex:64

Member Function Documentation

size_t type_index::hash_code ( ) const
inline
24  { // return hash value
25  return (_Tptr->hash_code());
26  }
size_t hash_code() const
Definition: vcruntime_typeinfo.h:69
const type_info * _Tptr
Definition: typeindex:64
const char* type_index::name ( ) const
inline
29  { // return name
30  return (_Tptr->name());
31  }
const type_info * _Tptr
Definition: typeindex:64
char const * name() const
Definition: vcruntime_typeinfo.h:89
bool type_index::operator!= ( const type_index _Right) const
inline
39  { // test if *this != _Right
40  return (!(*this == _Right));
41  }
bool type_index::operator< ( const type_index _Right) const
inline
44  { // test if *this < _Right
45  return (_Tptr->before(*_Right._Tptr));
46  }
const type_info * _Tptr
Definition: typeindex:64
bool before(type_info const &_Other) const
Definition: vcruntime_typeinfo.h:84
bool type_index::operator<= ( const type_index _Right) const
inline
59  { // test if *this <= _Right
60  return (!(_Right < *this));
61  }
bool type_index::operator== ( const type_index _Right) const
inline
34  { // test if *this == _Right
35  return (*_Tptr == *_Right._Tptr);
36  }
const type_info * _Tptr
Definition: typeindex:64
bool type_index::operator> ( const type_index _Right) const
inline
54  { // test if *this > _Right
55  return (_Right < *this);
56  }
bool type_index::operator>= ( const type_index _Right) const
inline
49  { // test if *this >= _Right
50  return (!(*this < _Right));
51  }

Member Data Documentation

const type_info* type_index::_Tptr
private

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