get overloads
Synopses
Declared in <bslstl_istringstream.h>
Extract one character from the stream.
Extraction into another streambuf.
__istream_type&
get(__streambuf_type& __sb);
Simple extraction.
__istream_type&
get(char_type& __c);
Extract one character into character.
BaseStream&
get(char_type& character);
Extract characters into streambuf until a newline.
BaseStream&
get(std::basic_streambuf<char_type, traits_type>& streambuf);
Extraction into another streambuf.
__istream_type&
get(
__streambuf_type& __sb,
char_type __delim);
Extract characters into streambuf until delimiter.
BaseStream&
get(
std::basic_streambuf<char_type, traits_type>& streambuf,
char_type delimiter);
Simple multiple‐character extraction.
__istream_type&
get(
char_type* __s,
streamsize __n);
Extract up to count characters into buffer.
BaseStream&
get(
char_type* buffer,
std::streamsize count);
Simple multiple‐character extraction.
__istream_type&
get(
char_type* __s,
streamsize __n,
char_type __delim);
Extract characters into buffer until delimiter.
BaseStream&
get(
char_type* buffer,
std::streamsize count,
char_type delimiter);
Return Value
-
the extracted character traits value, or eof on failure
-
*this
-
a reference to this stream
Parameters
Name |
Description |
__sb |
A streambuf in which to store data. |
__c |
The character in which to store data. |
character |
destination for the extracted character |
streambuf |
destination stream buffer |
__delim |
A "stop" character. |
delimiter |
character that stops extraction |
__s |
Pointer to an array. |
__n |
Maximum number of characters to store in s. |
buffer |
destination character array |
count |
maximum number of characters to extract |
Created with MrDocs