18 #ifndef _STLP_INTERNAL_ISTREAM 19 #define _STLP_INTERNAL_ISTREAM 22 #if defined (_STLP_HAS_WCHAR_T) && !defined (_STLP_INTERNAL_CWCHAR) 26 #ifndef _STLP_INTERNAL_IOS_H 30 #ifndef _STLP_INTERNAL_OSTREAM_H 34 #ifndef _STLP_INTERNAL_ISTREAMBUF_ITERATOR_H 42 #if defined (_STLP_USE_TEMPLATE_EXPORT) 43 template <
class _CharT,
class _Traits>
49 template <
class _CharT,
class _Traits>
51 template <
class _CharT,
class _Traits>
62 template <
class _CharT,
class _Traits>
66 #if defined (_STLP_MSVC) && (_STLP_MSVC >= 1300 && _STLP_MSVC <= 1310) 107 #ifdef _STLP_LONG_LONG 113 # ifndef _STLP_NO_LONG_DOUBLE 116 # ifndef _STLP_NO_BOOL 141 {
return get(__buf, this->
widen(
'\n')); }
177 #if defined (_STLP_USE_TEMPLATE_EXPORT) 180 typedef _Isentry<_CharT, _Traits> sentry;
182 # define sentry _Isentry 183 template <
class _CharT,
class _Traits>
185 typedef _Isentry<_CharT, _Traits> _Self;
199 bool __noskipws =
false) :
211 operator bool()
const {
return _M_ok; }
219 # if defined (_STLP_USE_TEMPLATE_EXPORT) 226 # if defined (_STLP_USE_TEMPLATE_EXPORT) 229 # if ! defined (_STLP_NO_WCHAR_T) 236 template <
class _CharT,
class _Traits>
243 template <
class _Traits>
250 template <
class _Traits>
257 template <
class _CharT,
class _Traits>
264 template <
class _Traits>
271 template <
class _Traits>
280 template <
class _CharT,
class _Traits>
293 template <
class _CharT,
class _Traits>
297 __istr.
tie()->flush();
302 if (!__istr.
good()) {
309 template <
class _CharT,
class _Traits>
313 __istr.
tie()->flush();
320 return __istr.
good();
325 template <
class _CharT,
class _Traits>
337 # if defined (_STLP_USE_TEMPLATE_EXPORT) 340 # if ! defined (_STLP_NO_WCHAR_T) 345 template <
class _CharT,
class _Traits>
347 {
return __istr.
rdbuf(); }
351 #if defined (_STLP_EXPOSE_STREAM_IMPLEMENTATION) && !defined (_STLP_LINK_TIME_INSTANTIATION)
basic_ios< _CharT, _Traits > _Basic_ios
basic_streambuf< _CharT, _Traits > * rdbuf() const
ios_base &_STLP_CALL skipws(ios_base &__s)
void operator=(const ios_base &)
_Self &(_STLP_CALL * __istream_fn)(_Self &)
basic_streambuf< _CharT, _Traits > *_STLP_CALL _M_get_istreambuf(basic_istream< _CharT, _Traits > &__istr)
virtual ~basic_iostream()
_Traits::off_type off_type
basic_istream< _CharT, _Traits > &_STLP_CALL ws(basic_istream< _CharT, _Traits > &__istr)
_Self & operator=(const _Self &)
typedef bool(CARDLIBPROC *pCanDragProc)(CardRegion &stackobj
basic_istream< _CharT, _Traits > &_STLP_CALL operator>>(basic_istream< _CharT, _Traits > &__in_str, _CharT &__c)
_Self & putback(char_type __c)
basic_ios< _CharT, _Traits > &(_STLP_CALL * __ios_fn)(basic_ios< _CharT, _Traits > &)
_STLP_INLINE_LOOP _InputIter const _Tp & __val
_Self & get(basic_streambuf< _CharT, _Traits > &__buf)
basic_iostream(basic_streambuf< _CharT, _Traits > *__buf)
#define _STLP_EXPORT_TEMPLATE_CLASS
_Self & getline(char_type *__s, streamsize __n, char_type delim)
streamsize readsome(char_type *__s, streamsize __n)
sentry(basic_istream< _CharT, _Traits > &__istr, bool __noskipws=false)
void init(basic_streambuf< _CharT, _Traits > *__streambuf)
_Self & getline(char_type *__s, streamsize __n)
_Self & seekg(pos_type __pos)
bool _M_init_noskip(basic_istream< _CharT, _Traits > &__istr)
void _M_skip_whitespace(bool __set_failbit)
void setstate(iostate __state)
void _M_formatted_get(_CharT &__c)
#define __REINTERPRET_CAST(__x, __y)
_Self & read(char_type *__s, streamsize __n)
_Self & operator>>(__istream_fn __f)
sentry(basic_istream< _CharT, _Traits > &__istr, _No_Skip_WS)
basic_ostream< _CharT, _Traits > * tie() const
#define _STLP_END_NAMESPACE
basic_istream< _CharT, _Traits > _Self
bool _M_init_skip(basic_istream< _CharT, _Traits > &__istr)
streamsize gcount() const
_Traits::pos_type pos_type
#define _STLP_BEGIN_NAMESPACE
ios_base &(_STLP_CALL * __ios_base_fn)(ios_base &)
basic_istream(basic_streambuf< _CharT, _Traits > *__buf)
basic_ios< _CharT, _Traits > _Basic_ios
_Self & get(char_type *__s, streamsize __n)
_Traits::int_type int_type