[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/io/basic_istringstream [Back]  [Original]

std::basic_istringstream cppreference.com
cppreference.com

std::basic_istringstream

cppreference.com
< cpp | io


<tbody> </tbody>
template< class CharT, class Traits = std::char_traits<CharT> > class basic_istringstream;
( C++11)
template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> > class basic_istringstream;
( C++11)
basic_istringstream (std::basic_string) . (basic_stringbuf) (basic_istream). basic_stringbuf .
:
The class template basic_istringstream implements input operations on memory (std::basic_string) based streams. It essentially wraps a raw string device implementation (basic_stringbuf) into a higher-level interface (basic_istream). The complete interface to unique basic_stringbuf members is provided.
Google.
. .
:
:
Two specializations for common character types are also defined:
Google.
. .
<sstream>
Definition
istringstream basic_istringstream<char>
wistringstream basic_istringstream<wchar_t>

-

char_type CharT[]
traits_type Traits[]
int_type Traits::int_type[]
pos_type Traits::pos_type[]
off_type Traits::off_type[]
allocator_type Allocator ( C++11)[]

-

:
constructs the string stream
Google.
. .

(public -) []
(C++11)
:
moves the string stream
Google.
. .

(public -) []
(C++11)
swaps two string streams
(public -) []
:
returns the underlying raw string device object
Google.
. .

(public -) []
:
String operations
Google.
. .
:
gets or sets the contents of underlying string device object
Google.
. .

(public -) []

std::basic_istream

-

std::basic_istream
(public - std::basic_istream) []

(public - std::basic_istream) []

(public - std::basic_istream) []
:
unextracts a character
Google.
. .

(public - std::basic_istream) []
:
puts character into input stream
Google.
. .

(public - std::basic_istream) []
,
:
extracts characters until the given character is found
Google.
. .

(public - std::basic_istream) []
,
:
extracts and discards characters until the given character is found
Google.
. .

(public - std::basic_istream) []
:
extracts blocks of characters
Google.
. .

(public - std::basic_istream) []

(public - std::basic_istream) []
,
:
returns number of characters extracted by last unformatted input operation
Google.
. .

(public - std::basic_istream) []

(public - std::basic_istream) []

(public - std::basic_istream) []
:
synchronizes with the underlying storage device
Google.
. .

(public - std::basic_istream) []

-


(public std::basic_istream) []


std::basic_ios

-

char_type CharT
traits_type Traits
int_type Traits::int_type
pos_type Traits::pos_type
off_type Traits::off_type
, .. /
(public - std::basic_ios) []
,
(public - std::basic_ios) []
,
(public - std::basic_ios) []
,
:
checks if a non-recoverable error has occurred
Google.
. .

(public - std::basic_ios) []
, ( fail())
(public - std::basic_ios) []
( !fail())
(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

(public - std::basic_ios) []

std::ios_base

-


(public - std::ios_base) []

(public - std::ios_base) []

(public - std::ios_base) []

(public - std::ios_base) []

(public - std::ios_base) []

(public - std::ios_base) []

(public - std::ios_base) []
[static]
, pword() iword()
(public static - std::ios_base) []
long
(public - std::ios_base) []
void*
(public - std::ios_base) []

(public - std::ios_base) []
, - C C++
(public static - std::ios_base) []

-

:
stream exception
Google.
. .

(public std::ios_base) []
:
initializes standard stream objects
Google.
. .

(public std::ios_base) []

- -

:

[]
app []
binary []
in []
out []
trunc []
ate []
noreplace (C++23) []

( ) []

:

[]
dec / (. std::dec)[]
oct / (. std::oct)[]
hex / (. std::hex)[]
basefield dec | oct | hex. []
left ( (. std::right))[]
right ( (. std::left))[]
internal ( (. std::internal))[]
adjustfield left | right | internal. []
scientific , , fixed (. std::scientific)[]
fixed , , scientific (. std::fixed)[]
floatfield scientific | fixed. []
boolalpha bool - (. std::boolalpha)[]
showbase , , , / (. std::showbase)[]
showpoint (. std::showpoint)[]
showpos + (. std::showpos)[]
skipws (. std::skipws)[]
unitbuf (. std::unitbuf)[]
uppercase / (. std::uppercase)[]

( ) []

:

[]
goodbit []
badbit []
failbit / ( )[]
eofbit []

( ) []

:

[]
beg []
end []
cur []

( ) []

() []

( ) []

Web Proxy Viewer  |  New URL  |  Original Page