Espaços nominais
Variantes
Acções

std::streamoff

Da cppreference.com
< cpp‎ | io

 
 
De entrada / saída da biblioteca
I / O manipuladores
C estilo de I / O
Buffers
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(obsoleta)
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.
Abstrações
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
Cordas 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
Matriz de 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(obsoleta)
ostrstream(obsoleta)
strstream(obsoleta)
Tipos
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
Interface de categoria de erro
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)
 
Defined in header <ios>
typedef /*unspecified*/ streamoff;
O std::streamoff tipo é um tipo integral assinado de tamanho suficiente para representar o tamanho máximo possível suportado pelo sistema operativo. Normalmente, este é um typedef para 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.
Ele é usado para representar deslocamentos de posições de fluxo (valores de std::fpos tipo). Um valor de std::streamoff -1 também é utilizada para representar as condições de erro por algumas das funções de I / O da biblioteca.
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.

[editar] Relacionamento com std :: fpos

  • a diferença entre os dois objectos std::fpos é um valor de std::streamoff tipo
    Original:
    the difference between two std::fpos objects is a value of type std::streamoff
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • um valor de std::streamoff tipo pode ser adicionado ou subtraído std::fpos produzindo uma std::fpos diferente.
    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.
  • um valor de std::fpos tipo é implicitamente conversível para std::streamoff (os resultados de conversão no deslocamento a partir do início do arquivo.
    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.
  • std::fpos um valor de tipo é constructible a partir de um valor do tipo std::streamoff
    Original:
    a value of type std::fpos is constructible from a value of type std::streamoff
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

[editar] Veja também

representa a posição absoluta em um córrego ou um arquivo
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.

(modelo de classe)
sets the input position indicator
(of std::basic_istream função pública membro) [edit]
define o indicador de posição de saída
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.

(of std::basic_ostream função pública membro) [edit]