Varianti

std::strstreambuf

Da cppreference.com.
< cpp | io

<metanoindex/>

 
 
Ingresso / libreria di output
I / O manipolatori
C-style I / O
Buffer
Original:
Buffers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf(deprecato)
Streams
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Astrazioni
Original:
Abstractions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
File I / O
Original:
File I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ifstream
basic_ofstream
basic_fstream
String I / O
Original:
String I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_istringstream
basic_ostringstream
basic_stringstream
Array I / O
Original:
Array I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istrstream(deprecato)
ostrstream(deprecato)
strstream(deprecato)
Tipi
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
streamoff
streamsize
fpos
Errore categoria interfaccia
Original:
Error category interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iostream_category(C++11)
io_errc(C++11)
 
std::strstreambuf
Funzioni membro pubbliche
Original:
Public member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strstreambuf::strstreambuf
strstreambuf::~strstreambuf
strstreambuf::freeze
strstreambuf::str
strstreambuf::pcount
Protetto funzioni membro
Original:
Protected member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strstreambuf::underflow
strstreambuf::pbackfail
strstreambuf::overflow
strstreambuf::setbuf
strstreambuf::seekoff
strstreambuf::seekpos
 
<tbody> </tbody>
Elemento definito nell'header <strstream>
class strstreambuf : public std::basic_streambuf<char>
(deprecato)
std::strstreambuf std::basic_streambuf cui è associato sequenza di caratteri è un array di caratteri, che può essere costante (ad esempio una stringa), ma non modifyable dinamici (per esempio una pila-assegnati array), o dinamico, nel qual caso il std::strstreambuf può essere consentito di riassegnare la matrice come necessari per il posizionamento di uscita (ad esempio, chiamando delete[] e new[] o forniti dall'utente funzioni).
Original:
std::strstreambuf is a std::basic_streambuf whose associated character sequence is a character array, which may be constant (e.g. a string literal), modifyable but not dynamic (e.g. a stack-allocated array), or dynamic, in which case the std::strstreambuf may be allowed to reallocate the array as necessary to accomodate output (e.g. by calling delete[] and new[] or user-provided functions).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Applicazione tipica di un std::strstreambuf contiene quattro membri privati ​​di dati:
Original:
Typical implementation of a std::strstreambuf holds four private data members:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

1)

buffer di stato, un tipo di maschera di bit che può rappresentare una qualsiasi combinazione delle quattro valori "attribuiti" (distruttore si deallocare), "costante" (uscita non consentito), "dinamico" (uscita può ripartire), o "congelato" (uscita, deallocazione , la riassegnazione non sono ammessi)
Original:
buffer state, a bitmask type which can represent any combination of the four values "allocated" (destructor will deallocate), "constant" (output not allowed), "dynamic" (output may reallocate), or "frozen" (output, deallocation, reallocation are not allowed)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

dimensione del buffer allocato
Original:
allocated buffer size
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

3)

puntatore fornito dall'utente funzione di allocazione
Original:
pointer to user-provided allocation function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

4)

puntatore fornito dall'utente funzione deallocazione.
Original:
pointer to user-provided deallocation function.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.