std::streamoff
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. |
Elemento definito nell'header <ios>
|
||
typedef /*unspecified*/ streamoff; |
||
Il
std::streamoff
tipo è un tipo integrale con segno di dimensioni sufficienti per rappresentare la dimensione massima possibile supportata dal sistema operativo. In genere, questo è un typedef per long long.Original:
The type
std::streamoff
is a signed integral type of sufficient size to represent the maximum possible file size supported by the operating system. Typically, this is a typedef to long long.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
E 'usato per rappresentare offset da posizioni di flusso (valori di std::fpos tipo). Un valore di
std::streamoff
-1 è anche usato per rappresentare le condizioni di errore da alcune delle funzioni I / O di libreria.Original:
It is used to represent offsets from stream positions (values of type std::fpos). A
std::streamoff
value of -1 is also used to represent error conditions by some of the I/O library functions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Rapporti con std :: fpos
- la differenza tra due oggetti std::fpos è un valore di tipo std::streamoffOriginal:the difference between two std::fpos objects is a value of type std::streamoffThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
- un valore di std::streamoff tipo può essere aggiunto o sottratto da std::fpos ottenendo un std::fpos diverso.Original:a value of type std::streamoff may be added or subtracted from std::fpos yielding a different std::fpos.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
- un valore di std::fpos tipo è convertibile in modo implicito std::streamoff (i risultati della conversione in offset dall'inizio del file.Original:a value of type std::fpos is implicitly convertible to std::streamoff (the conversion results in the offset from the beginning of the file.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
- un valore di std::fpos tipo è costruibile a partire da un valore di tipo std::streamoffOriginal:a value of type std::fpos is constructible from a value of type std::streamoffThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Vedi anche
rappresenta la posizione assoluta in un ruscello o di un file Original: represents absolute position in a stream or a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) | |
sets the input position indicator (metodo pubblico) | |
imposta l'indicatore di posizione di uscita Original: sets the output position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |