ReactOS 0.4.15-dev-7842-g558ab78
_Underflow< _CharT, _Traits > Class Template Reference

#include <_fstream.h>

Public Types

typedef _Traits::int_type int_type
 
typedef _Traits traits_type
 

Static Public Member Functions

static int_type _STLP_CALL _M_doit (basic_filebuf< _CharT, _Traits > *__this)
 

Detailed Description

template<class _CharT, class _Traits>
class _Underflow< _CharT, _Traits >

Definition at line 409 of file _fstream.h.

Member Typedef Documentation

◆ int_type

template<class _CharT , class _Traits >
typedef _Traits::int_type _Underflow< _CharT, _Traits >::int_type

Definition at line 411 of file _fstream.h.

◆ traits_type

template<class _CharT , class _Traits >
typedef _Traits _Underflow< _CharT, _Traits >::traits_type

Definition at line 412 of file _fstream.h.

Member Function Documentation

◆ _M_doit()

template<class _CharT , class _Traits >
static int_type _STLP_CALL _Underflow< _CharT, _Traits >::_M_doit ( basic_filebuf< _CharT, _Traits > *  __this)
inlinestatic

Definition at line 416 of file _fstream.h.

416 {
417 if (!__this->_M_in_input_mode) {
418 if (!__this->_M_switch_to_input_mode())
419 return traits_type::eof();
420 }
421 else if (__this->_M_in_putback_mode) {
422 __this->_M_exit_putback_mode();
423 if (__this->gptr() != __this->egptr()) {
424 int_type __c = traits_type::to_int_type(*__this->gptr());
425 return __c;
426 }
427 }
428
429 return __this->_M_underflow_aux();
430 }
_Traits::int_type int_type
Definition: _fstream.h:411
bool _M_switch_to_input_mode()
Definition: _fstream.c:429
int_type _M_underflow_aux()
Definition: _fstream.c:495
void _M_exit_putback_mode()
Definition: _fstream.h:228
unsigned char _M_in_putback_mode
Definition: _fstream.h:283
unsigned char _M_in_input_mode
Definition: _fstream.h:280
char_type * egptr() const
Definition: _streambuf.h:89
char_type * gptr() const
Definition: _streambuf.h:88
#define __c
Definition: schilyio.h:209

Referenced by basic_filebuf< _CharT, _Traits >::underflow().


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