std::basic_streambuf::pubseekoff, std::basic_streambuf::seekoff
提供: cppreference.com
< cpp | io | basic streambuf
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
pos_type pubseekoff( off_type off, ios_base::seekdir dir, ios_base::openmode which = ios_base::in | ios_base::out ); |
(1) | |
protected: virtual pos_type seekoff( off_type off, ios_base::seekdir dir, |
(2) | |
入力および/または他のいくつかの位置に対して相対的に出力シーケンスの位置インジケータを設定.
1) Original:
Sets the position indicator of the input and/or output sequence relative to some other position.
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.
最派生クラスの
2) seekoff(off, dir, which)
呼び出しますOriginal:
Calls
seekoff(off, dir, which)
of the most derived classThe 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.
この関数の基本クラスのバージョンは効果がありません。派生クラスは、位置指示子の相対的な位置決めを可能にするために、この関数をオーバーライドすることができます.
Original:
The base class version of this function has no effect. The derived classes may override this function to allow relative positioning of the position indicator.
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.
目次 |
[編集] パラメータ
off | - | に位置インジケータを設定するには、相対位置.
Original: relative position to set the position indicator to. The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||||||||||||||||||||||||||||
dir | - | に相対的なオフセットを適用するためのベースの位置を定義します。それは、次の定数のいずれかを指定できます。
Original: defines base position to apply the relative offset to. It can be one of the following constants:
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||||||||||||||||||||||||||||
which | - | 入力および/または出力シーケンスのどれが影響するように定義しています。これは、1つまたは次の定数の組み合わせが可能です。
Original: defines which of the input and/or output sequences to affect. It can be one or a combination of the following constants:
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
1)seekoff(off, dir, which)
の戻り値Original:
The return value of
seekoff(off, dir, which)
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.
位置指示子が定義されているように、結果の絶対位置。基本クラスのバージョンを返しpos_type(off_type(1-)).
Original:
The resulting absolute position as defined by the position indicator. The base class version returns pos_type(off_type(1-)).
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.
[編集] 例
This section is incomplete Reason: no example |
[編集] も参照してください
seekpos()を呼び出します Original: invokes seekpos() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |