basic_istream Class Reference

#include <stdapis/stlportv5/stl/_istream.h>

class basic_istream : public basic_ios

Inherits from

Nested Classes and Structures

Public Member Type Definitions
typedef basic_ios< _CharT, _Traits > _Basic_ios
typedef ios_base &(_STLP_CALL * __ios_base_fn
typedef basic_ios< _CharT, _Traits > &(_STLP_CALL * __ios_fn
typedef _Self &(_STLP_CALL * __istream_fn
typedef_CharT char_type
typedef_Traits::int_type int_type
typedef_Traits::off_type off_type
typedef_Traits::pos_type pos_type
typedef_Traits traits_type
Public Member Functions
basic_istream(basic_streambuf< _CharT, _Traits > *)
~basic_istream()
void_M_formatted_get(_CharT &)
void_M_formatted_get(_CharT *)
void_M_skip_whitespace(bool)
streamsize gcount()
int_type get()
_Self &get(char_type &)
_Self &get(char_type *, streamsize, char_type)
_Self &get(char_type *, streamsize)
_Self &get(basic_streambuf< _CharT, _Traits > &, char_type)
_Self &get(basic_streambuf< _CharT, _Traits > &)
_Self &getline(char_type *, streamsize, char_type)
_Self &getline(char_type *, streamsize)
_Self &ignore()
_Self &ignore(streamsize)
_Self &ignore(streamsize, int_type)
_Self &operator>>(__istream_fn)
_Self &operator>>(__ios_fn)
_Self &operator>>(__ios_base_fn)
_Self &operator>>(short &)
_Self &operator>>(int &)
_Self &operator>>(unsigned short &)
_Self &operator>>(unsigned int &)
_Self &operator>>(long &)
_Self &operator>>(unsigned long &)
_Self &operator>>(float &)
_Self &operator>>(double &)
_Self &operator>>(long double &)
_Self &operator>>(bool &)
_Self &operator>>(void *&)
_Self &operator>>(basic_streambuf< _CharT, _Traits > *)
int_type peek()
_Self &putback(char_type)
_Self &read(char_type *, streamsize)
streamsize readsome(char_type *, streamsize)
_Self &seekg(pos_type)
_Self &seekg(off_type, ios_base::seekdir)
intsync()
pos_type tellg()
_Self &unget()
Inherited Attributes
ios_base::_M_cached_ctype
ios_base::_M_cached_grouping
ios_base::_M_cached_numpunct
ios_base::_S_was_synced
ios_base::__default_mode
ios_base::adjustfield
ios_base::app
ios_base::ate
ios_base::badbit
ios_base::basefield
ios_base::beg
ios_base::binary
ios_base::boolalpha
ios_base::cur
ios_base::dec
ios_base::end
ios_base::eofbit
ios_base::failbit
ios_base::fixed
ios_base::floatfield
ios_base::goodbit
ios_base::hex
ios_base::in
ios_base::internal
ios_base::left
ios_base::oct
ios_base::out
ios_base::right
ios_base::scientific
ios_base::showbase
ios_base::showpoint
ios_base::showpos
ios_base::skipws
ios_base::trunc
ios_base::unitbuf
ios_base::uppercase
Inherited Enumerations
ios_base:event
Inherited Functions
basic_ios::_M_handle_exception(ios_base::iostate)
basic_ios::_S_eof(int_type)
basic_ios::basic_ios()
basic_ios::basic_ios(basic_streambuf< _CharT, _Traits > *)
basic_ios::clear(iostate)
basic_ios::copyfmt(const basic_ios< _CharT, _Traits > &)
basic_ios::exceptions()const
basic_ios::exceptions(iostate)
basic_ios::fill()const
basic_ios::fill(char_type)
basic_ios::imbue(const locale &)
basic_ios::init(basic_streambuf< _CharT, _Traits > *)
basic_ios::narrow(_CharT,char)const
basic_ios::rdbuf()const
basic_ios::rdbuf(basic_streambuf< char_type, traits_type > *)
basic_ios::setstate(iostate)
basic_ios::tie()const
basic_ios::tie(basic_ostream< char_type, traits_type > *)
basic_ios::widen(char)const
basic_ios::~basic_ios()
ios_base::_M_check_exception_mask()
ios_base::_M_clear_nothrow(iostate)
ios_base::_M_copy_state(const ios_base &)
ios_base::_M_ctype_facet()const
ios_base::_M_get_exception_mask()const
ios_base::_M_grouping()const
ios_base::_M_invoke_callbacks(event)
ios_base::_M_numpunct_facet()const
ios_base::_M_set_exception_mask(iostate)
ios_base::_M_setstate_nothrow(iostate)
ios_base::_M_throw_failure()
ios_base::_S_initialize()
ios_base::_S_uninitialize()
ios_base::bad()const
ios_base::eof()const
ios_base::fail()const
ios_base::flags()const
ios_base::flags(fmtflags)
ios_base::getloc()const
ios_base::good()const
ios_base::ios_base()
ios_base::iword(int)
ios_base::operator void *()const
ios_base::operator!()const
ios_base::precision()const
ios_base::precision(streamsize)
ios_base::pword(int)
ios_base::rdstate()const
ios_base::register_callback(event_callback,int)
ios_base::setf(fmtflags)
ios_base::setf(fmtflags,fmtflags)
ios_base::sync_with_stdio(bool)
ios_base::unsetf(fmtflags)
ios_base::width()const
ios_base::width(streamsize)
ios_base::xalloc()
ios_base::~ios_base()
Inherited Type Definitions
ios_base::event_callback
ios_base::fmt_flags
ios_base::fmtflags
ios_base::io_state
ios_base::iostate
ios_base::open_mode
ios_base::openmode
ios_base::seek_dir
ios_base::seekdir
ios_base::streamoff
ios_base::streampos

Member Type Definition Documentation

Typedef _Basic_ios

typedef basic_ios< _CharT, _Traits >_Basic_ios

Typedef __ios_base_fn

typedef ios_base &(_STLP_CALL *__ios_base_fn

Typedef __ios_fn

typedef basic_ios< _CharT, _Traits > &(_STLP_CALL *__ios_fn

Typedef __istream_fn

typedef _Self &(_STLP_CALL *__istream_fn

Typedef char_type

typedef _CharTchar_type

Typedef int_type

typedef _Traits::int_typeint_type

Typedef off_type

typedef _Traits::off_typeoff_type

Typedef pos_type

typedef _Traits::pos_typepos_type

Typedef traits_type

typedef _Traitstraits_type

Constructor & Destructor Documentation

basic_istream ( basic_streambuf< _CharT, _Traits > * )

basic_istream(basic_streambuf< _CharT, _Traits > *__buf)[inline, explicit]

~basic_istream ( )

~basic_istream()[inline]

Member Function Documentation

_M_formatted_get ( _CharT & )

void_M_formatted_get(_CharT &__c)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__c-
Return Value
-

_M_formatted_get ( _CharT * )

void_M_formatted_get(_CharT *__s)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__s-
Return Value
-

_M_skip_whitespace ( bool )

void_M_skip_whitespace(bool__set_failbit)

gcount ( )

streamsize gcount()const [inline]

get ( )

int_type get()

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Return Value
-

get ( char_type & )

_Self &get(char_type &__c)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__c-
Return Value
-

get ( char_type *, streamsize, char_type )

_Self &get(char_type *__s,
streamsize__n,
char_type__delim
)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__s-
__n-
__delim-
Return Value
-

get ( char_type *, streamsize )

_Self &get(char_type *__s,
streamsize__n
)[inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__s-
__n-
Return Value
-

get ( basic_streambuf< _CharT, _Traits > &, char_type )

_Self &get(basic_streambuf< _CharT, _Traits > &__buf,
char_type__delim
)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__buf-
__delim-
Return Value
-

get ( basic_streambuf< _CharT, _Traits > & )

_Self &get(basic_streambuf< _CharT, _Traits > &__buf)[inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__buf-
Return Value
-

getline ( char_type *, streamsize, char_type )

_Self &getline(char_type *__s,
streamsize__n,
char_typedelim
)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__s-
__n-
delim-
Return Value
-

getline ( char_type *, streamsize )

_Self &getline(char_type *__s,
streamsize__n
)[inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__s-
__n-
Return Value
-

ignore ( )

_Self &ignore()

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Return Value
-

ignore ( streamsize )

_Self &ignore(streamsize__n)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__n-
Return Value
-

ignore ( streamsize, int_type )

_Self &ignore(streamsize__n,
int_type__delim
)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__n-
__delim-
Return Value
-

operator>> ( __istream_fn )

_Self &operator>>(__istream_fn__f)[inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__f-
Return Value
-

operator>> ( __ios_fn )

_Self &operator>>(__ios_fn__f)[inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__f-
Return Value
-

operator>> ( __ios_base_fn )

_Self &operator>>(__ios_base_fn__f)[inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__f-
Return Value
-

operator>> ( short & )

_Self &operator>>(short &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( int & )

_Self &operator>>(int &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( unsigned short & )

_Self &operator>>(unsigned short &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( unsigned int & )

_Self &operator>>(unsigned int &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( long & )

_Self &operator>>(long &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( unsigned long & )

_Self &operator>>(unsigned long &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( float & )

_Self &operator>>(float &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( double & )

_Self &operator>>(double &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( long double & )

_Self &operator>>(long double &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( bool & )

_Self &operator>>(bool &__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( void *& )

_Self &operator>>(void *&__val)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__val-
Return Value
-

operator>> ( basic_streambuf< _CharT, _Traits > * )

_Self &operator>>(basic_streambuf< _CharT, _Traits > *)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
-
Return Value
-

peek ( )

int_type peek()

putback ( char_type )

_Self &putback(char_type__c)

read ( char_type *, streamsize )

_Self &read(char_type *__s,
streamsize__n
)

readsome ( char_type *, streamsize )

streamsize readsome(char_type *__s,
streamsize__n
)

seekg ( pos_type )

_Self &seekg(pos_type__pos)

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
__pos-
Return Value
-

seekg ( off_type, ios_base::seekdir )

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Parameters
-
-
Return Value
-

sync ( )

intsync()

tellg ( )

pos_type tellg()

unget ( )

_Self &unget()