名前空間
変種
操作

std::streamoff

提供: cppreference.com
< cpp‎ | io

 
 
入力/出力ライブラリ
I / Oのマニピュレータ
CスタイルのI / O
バッファ
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(廃止予定)
ストリーム
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
抽象化
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
ファイル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
文字列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
アレイの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(廃止予定)
ostrstream(廃止予定)
strstream(廃止予定)
タイプ
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
エラーカテゴリインターフェース
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;
タイプstd::streamoffは、オペレーティング·システムによってサポートされる、可能な最大ファイルサイズを表すのに十分なサイズの符号付き整数型です。通常、これはlong longへのtypedefです.
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.
それは、ストリームの位置(タイプstd::fposの値)からのオフセットを表すために使用されます。 std::streamoff-1値もI / Oライブラリの一部の機能によってエラー条件を表すために使用され.
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.

[編集] STDとの関係:: FPOS

  • 2std::fposオブジェクト間の違いは、型std::streamoffの値です
    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.
  • タイプstd::streamoffの値が追加されたり、異なるstd::fposをもたらしstd::fposから差し引かれてもよい.
    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.
  • タイプstd::fposの値がstd::streamoff(ファイルの先頭からのオフセット.
    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の値の型の値から構築可能です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.

[編集] も参照してください

ストリームまたはファイル内の絶対位置を表しています
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.

(クラステンプレート)
sets the input position indicator
(パブリックメンバ関数of std::basic_istream) [edit]
出力位置インジケータを設定します
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) [edit]