STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
basic_istream< _Elem, _Traits >::sentry Class Reference
Inheritance diagram for basic_istream< _Elem, _Traits >::sentry:
basic_istream< _Elem, _Traits >::_Sentry_base

Public Member Functions

__CLR_OR_THIS_CALL sentry (_Myt &_Istr, bool _Noskip=false)
 
__CLR_OR_THIS_CALL operator bool () const
 
__CLR_OR_THIS_CALL sentry (const sentry &)=delete
 
sentry &__CLR_OR_THIS_CALL operator= (const sentry &)=delete
 
- Public Member Functions inherited from basic_istream< _Elem, _Traits >::_Sentry_base
__CLR_OR_THIS_CALL _Sentry_base (_Myt &_Istr)
 
__CLR_OR_THIS_CALL ~_Sentry_base () _NOEXCEPT
 

Private Attributes

bool _Ok
 

Additional Inherited Members

- Public Attributes inherited from basic_istream< _Elem, _Traits >::_Sentry_base
_Myt_Myistr
 

Constructor & Destructor Documentation

template<class _Elem, class _Traits>
__CLR_OR_THIS_CALL basic_istream< _Elem, _Traits >::sentry::sentry ( _Myt _Istr,
bool  _Noskip = false 
)
inlineexplicit
116  : _Sentry_base(_Istr)
117  { // construct locking and calling _Ipfx
118  _Ok = this->_Myistr._Ipfx(_Noskip);
119  }
bool _Ok
Definition: istream:127
__CLR_OR_THIS_CALL _Sentry_base(_Myt &_Istr)
Definition: istream:92
_Myt & _Myistr
Definition: istream:105
template<class _Elem, class _Traits>
__CLR_OR_THIS_CALL basic_istream< _Elem, _Traits >::sentry::sentry ( const sentry )
delete

Member Function Documentation

template<class _Elem, class _Traits>
__CLR_OR_THIS_CALL basic_istream< _Elem, _Traits >::sentry::operator bool ( ) const
inlineexplicit
122  { // test if _Ipfx succeeded
123  return (_Ok);
124  }
bool _Ok
Definition: istream:127
template<class _Elem, class _Traits>
sentry& __CLR_OR_THIS_CALL basic_istream< _Elem, _Traits >::sentry::operator= ( const sentry )
delete

Member Data Documentation

template<class _Elem, class _Traits>
bool basic_istream< _Elem, _Traits >::sentry::_Ok
private

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