Da cppreference.com.
 | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. Click here for the English version of this page |
Il
ios_base
classe è una classe polivalente che funge da classe base per tutti gli I / O di classi stream. Mantiene diversi tipi di dati:
Original:
The class ios_base
is a multipurpose class that serves as the base class for all I/O stream classes. It maintains several kinds of data:
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
1)informazioni sullo stato: flag di stato del flusso
Original:
state information: stream status flags
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
2)informazioni di controllo: flag che controllano la formattazione di input e sequenze di uscita e le impostazioni internazionali impregnato
Original:
control information: flags that control formatting of both input and output sequences and the imbued locale
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
3)all'ammasso privato: indicizzata struttura estensibile dati che consente sia
long e membri
void*, che può essere implementato come due matrici a lunghezza arbitraria o un singolo array di due elementi strutture o in un altro contenitore.
Original:
private storage: indexed extensible data structure that allows both long and void* members, which may be implemented as two arbitrary-length arrays or a single array of two-element structs or another container.
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
4)callback: numero arbitrario di funzioni definite dall'utente che possono essere richiesti da infondere (), copyfmt (), e ~ ios_base ()
Original:
callbacks: arbitrary number of user-defined functions to be called from imbue(), copyfmt(), and ~ios_base()
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
Applicazione tipica tiene costanti utente corrispondenti a tutti i valori di fmtflags, iostate, openMode e seekdir indicati di seguito, le variabili membri di mantenere la precisione di corrente, larghezza, e le bandiere di formattazione, la maschera di eccezione, lo stato di errore di buffer, un contenitore ridimensionabile tenendo le callback, impostazioni internazionali attualmente impregnata, lo stoccaggio privato, e una variabile statica intero per xalloc ().
Original:
Typical implementation holds member constants corresponding to all values of fmtflags, iostate, openmode, and seekdir shown below, member variables to maintain current precision, width, and formatting flags, the exception mask, the buffer error state, a resizeable container holding the callbacks, the currently imbued locale, the private storage, and a static integer variable for xalloc().
The text has been machine-translated via
Google Translate.
You can help to correct and verify the translation. Click
here for instructions.
[modifica]Membri funzioni
|
| Costruisce l'oggetto Original: constructs the object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (protetto funzione membro)[modifica] |
|
| distrugge l'oggetto Original: destructs the object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico virtuale)[modifica] |
Formattazione Original: Formatting The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
| gestisce i flag di formato Original: manages format flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico)[modifica] |
|
| imposta flag specifico formato Original: sets specific format flag The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico)[modifica] |
|
| clears specific format flag (metodo pubblico)[modifica] |
|
| gestisce la precisione decimale di operazioni in virgola mobile Original: manages decimal precision of floating point operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico)[modifica] |
|
| manages field width (metodo pubblico)[modifica] |
Versioni locali Original: Locales The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
| imposta locale Original: sets locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico)[modifica] |
|
| restituisce locale corrente Original: returns current locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico)[modifica] |
Interno di matrice estensibile Original: Internal extensible array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
| restituisce un programma a livello di intero univoco che è sicuro da usare come indice per pword () e iword () Original: returns a program-wide unique integer that is safe to use as index to pword() and iword() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico statico)[modifica] |
|
| ridimensiona l'ammasso privato e, se necessario, l'accesso all'elemento long in corrispondenza dell'indice specificato Original: resizes the private storage if necessary and access to the long element at the given index The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico)[modifica] |
|
| ridimensiona l'ammasso privato e, se necessario, l'accesso all'elemento void* in corrispondenza dell'indice specificato Original: resizes the private storage if necessary and access to the void* element at the given index The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico)[modifica] |
Varie Original: Miscellaneous The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
| registers event callback function (metodo pubblico)[modifica] |
|
| Permette di scegliere se C + + e C librerie IO sono interoperabili Original: sets whether C++ and C IO libraries are interoperable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico statico)[modifica] |
Membri classi Original: Member classes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
| flusso di eccezione Original: stream exception The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (membro pubblico classe)[modifica] |
|
| inizializza oggetti stream standard Original: initializes standard stream objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (membro pubblico classe)[modifica] |
Tipi di membri e costanti Original: Member types and constants The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
Tipo Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation |
|
| flusso di tipo modalità di apertura Le costanti sono anche definiti: | Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation[modifica] | | app | cercano alla fine del flusso prima di ogni scrittura Original: seek to the end of stream before each write The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | binary | aperto in modalità binaria Original: open in binary mode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | in | aprire per la lettura Original: open for reading The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | out | aperto per la scrittura Original: open for writing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | trunc | scartare il contenuto del flusso durante l'apertura Original: discard the contents of the stream when opening The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | ate | cercano di fine flusso subito dopo aperto Original: seek to the end of stream immediately after open The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] |
Original: stream open mode type The following constants are also defined: | Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation[modifica] | | app | cercano alla fine del flusso prima di ogni scrittura Original: seek to the end of stream before each write The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | binary | aperto in modalità binaria Original: open in binary mode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | in | aprire per la lettura Original: open for reading The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | out | aperto per la scrittura Original: open for writing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | trunc | scartare il contenuto del flusso durante l'apertura Original: discard the contents of the stream when opening The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | ate | cercano di fine flusso subito dopo aperto Original: seek to the end of stream immediately after open The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] |
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef)[modifica] |
|
| formattazione bandiere tipo Le costanti sono anche definiti: | Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation[modifica] | | dec | utilizzare base decimale per intero I / O Original: use decimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | oct | utilizzare ottale base per intero di I / O Original: use octal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | hex | utilizzare base esadecimale per intero I / O Original: use hexadecimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | basefield | dec|oct|hex|0. Utile per mascherare operazioni Original: dec|oct|hex|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | left | regolazione sinistra (aggiunge caratteri di riempimento a destra) Original: left adjustment (adds fill characters to the right) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | right | giusta regolazione (aggiunge caratteri di riempimento a sinistra) Original: right adjustment (adds fill characters to the left) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | internal | regolazione interna (aggiunge caratteri di riempimento fino al punto interno designato) Original: internal adjustment (adds fill characters to the internal designated point) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | adjustfield | left|right|internal. Utile per mascherare operazioni Original: left|right|internal. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | scientific | generare tipi in virgola mobile con la notazione scientifica, o la notazione esadecimale se combinato con fisso Original: generate floating point types using scientific notation, or hex notation if combined with fixed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | fixed | generare tipi in virgola mobile con la notazione fissa, o la notazione esadecimale, se combinata con scientifica Original: generate floating point types using fixed notation, or hex notation if combined with scientific The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | floatfield | scientific|fixed|(scientific|fixed)|0. Utile per mascherare operazioni Original: scientific|fixed|(scientific|fixed)|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | boolalpha | inserire ed estrarre tipo bool in formato alfanumerico Original: insert and extract bool type in alphanumeric format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | showbase | generare un prefisso che indica la base numerica per l'uscita numero intero, richiedono l'indicatore valuta monetaria di I / O Original: generate a prefix indicating the numeric base for integer output, require the currency indicator in monetary I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | showpoint | generare un punto decimale carattere incondizionatamente per la virgola mobile il numero di uscita Original: generate a decimal-point character unconditionally for floating-point number output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | showpos | generare un carattere + per non negativo output numerico Original: generate a + character for non-negative numeric output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | skipws | saltare gli spazi iniziali prima di operazioni di input specifici Original: skip leading whitespace before certain input operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | unitbuf | lavare l'uscita dopo ogni operazione di uscita Original: flush the output after each output operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | uppercase | sostituire alcune lettere minuscole con le loro uppercase equivalents in alcune operazioni di uscita di uscita Original: replace certain lowercase letters with their uppercase equivalents in certain output output operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] |
Original: formatting flags type The following constants are also defined: | Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation[modifica] | | dec | utilizzare base decimale per intero I / O Original: use decimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | oct | utilizzare ottale base per intero di I / O Original: use octal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | hex | utilizzare base esadecimale per intero I / O Original: use hexadecimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | basefield | dec|oct|hex|0. Utile per mascherare operazioni Original: dec|oct|hex|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | left | regolazione sinistra (aggiunge caratteri di riempimento a destra) Original: left adjustment (adds fill characters to the right) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | right | giusta regolazione (aggiunge caratteri di riempimento a sinistra) Original: right adjustment (adds fill characters to the left) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | internal | regolazione interna (aggiunge caratteri di riempimento fino al punto interno designato) Original: internal adjustment (adds fill characters to the internal designated point) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | adjustfield | left|right|internal. Utile per mascherare operazioni Original: left|right|internal. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | scientific | generare tipi in virgola mobile con la notazione scientifica, o la notazione esadecimale se combinato con fisso Original: generate floating point types using scientific notation, or hex notation if combined with fixed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | fixed | generare tipi in virgola mobile con la notazione fissa, o la notazione esadecimale, se combinata con scientifica Original: generate floating point types using fixed notation, or hex notation if combined with scientific The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | floatfield | scientific|fixed|(scientific|fixed)|0. Utile per mascherare operazioni Original: scientific|fixed|(scientific|fixed)|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | boolalpha | inserire ed estrarre tipo bool in formato alfanumerico Original: insert and extract bool type in alphanumeric format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | showbase | generare un prefisso che indica la base numerica per l'uscita numero intero, richiedono l'indicatore valuta monetaria di I / O Original: generate a prefix indicating the numeric base for integer output, require the currency indicator in monetary I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | showpoint | generare un punto decimale carattere incondizionatamente per la virgola mobile il numero di uscita Original: generate a decimal-point character unconditionally for floating-point number output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | showpos | generare un carattere + per non negativo output numerico Original: generate a + character for non-negative numeric output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | skipws | saltare gli spazi iniziali prima di operazioni di input specifici Original: skip leading whitespace before certain input operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | unitbuf | lavare l'uscita dopo ogni operazione di uscita Original: flush the output after each output operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | uppercase | sostituire alcune lettere minuscole con le loro uppercase equivalents in alcune operazioni di uscita di uscita Original: replace certain lowercase letters with their uppercase equivalents in certain output output operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] |
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef)[modifica] |
|
| stato del tipo di flusso Le costanti sono anche definiti: | Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation[modifica] | | goodbit | nessun errore Original: no error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | badbit | flusso di errore irrecuperabile Original: irrecoverable stream error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | failbit | di input / output non riuscita (errore di formattazione o di estrazione) Original: input/output operation failed (formatting or extraction error) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | eofbit | sequenza di input associati ha raggiunto la fine del file Original: associated input sequence has reached end-of-file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] |
Original: state of the stream type The following constants are also defined: | Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation[modifica] | | goodbit | nessun errore Original: no error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | badbit | flusso di errore irrecuperabile Original: irrecoverable stream error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | failbit | di input / output non riuscita (errore di formattazione o di estrazione) Original: input/output operation failed (formatting or extraction error) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | eofbit | sequenza di input associati ha raggiunto la fine del file Original: associated input sequence has reached end-of-file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] |
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef)[modifica] |
|
| seeking direction type The following constants are also defined: | Constant Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation[modifica] | | beg | l'inizio di un flusso Original: the beginning of a stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | end | la fine di un corso d'acqua Original: the ending of a stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] | | cur | la posizione corrente del flusso di indicatore di posizione Original: the current position of stream position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. [modifica] |
(typedef)[modifica] |
|
| specifica il tipo di evento Original: specifies event type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (enum)[modifica] |
|
| callback tipo di funzione Original: callback function type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef)[modifica] |
Deprecato tipi di membro Original: Deprecated member types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
|
|
Tipo Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation |
|
io_state (deprecato) | tipo intero che può essere utilizzato come iostate Original: integer type that may be used like iostate The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
|
open_mode (deprecato) | tipo intero che può essere utilizzato come openmode Original: integer type that may be used like openmode The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
|
seek_dir (deprecato) | tipo intero che può essere utilizzato come seekdir Original: integer type that may be used like seekdir The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
|
streamoff (deprecato) | tipo non specificato che può essere utilizzato come off_type , non necessariamente std::streamoffOriginal: unspecified type that may be used like off_type , not necessarily std::streamoffThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
|
streampos (deprecato) | tipo non specificato che può essere utilizzato come pos_type , non necessariamente std::streamposOriginal: unspecified type that may be used like pos_type , not necessarily std::streamposThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |