basic_istream Members

The following tables list the members of the basic_istream Class. For a list of members inherited by the basic_istream class, see basic_ios Members.

Reference

Constructors

basic_istream

Constructs an object of type basic_istream.

Member Functions

gcount

Returns the number of characters read during the last unformatted input.

get

Reads one or more characters from the input stream.

getline

Reads a line from the input stream.

ignore

Causes a number of elements to be skipped from the current read position.

peek

Returns the next character to be read.

putback

Puts a specified character into the stream.

read

Reads a specified number of characters from the stream and stores them in an array. Deprecated. Use basic_istream::_Read_s instead.

_Read_s

Reads a specified number of characters from the stream and stores them in an array.

readsome

Read from buffer only. Deprecated. Use basic_istream::_Readsome_s instead.

_Readsome_s

Read from buffer only.

seekg

Moves the read position in a stream.

sentry

The nested class describes an object whose declaration structures the formatted input functions and the unformatted input functions.

sync

Synchronizes the input device associated with the stream with the stream's buffer.

tellg

Reports the current read position in the stream.

unget

Puts the most recently read character back into the stream.

Operators

operator>>

Calls a function on the input stream or reads formatted data from the input stream.

See Also

Concepts

basic_istream Class

basic_ios Class

basic_ios Members

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions