「cpp/io/basic ios/rdbuf」の版間の差分
提供: cppreference.com
細 (r2.7.3) (ロボットによる 追加: de, en, es, fr, it, pt, ru, zh) |
細 (Use {{lc}}. Update links. Various fixes.) |
||
2行: | 2行: | ||
{{cpp/io/basic_ios/title|rdbuf}} | {{cpp/io/basic_ios/title|rdbuf}} | ||
{{cpp/io/basic_ios/navbar}} | {{cpp/io/basic_ios/navbar}} | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| num = 1 | |
std::basic_streambuf<CharT,Traits>* rdbuf() const; | std::basic_streambuf<CharT,Traits>* rdbuf() const; | ||
}} | }} | ||
− | {{ | + | {{| num = 2 | |
std::basic_streambuf<CharT,Traits>* rdbuf( std::basic_streambuf<CharT,Traits>* sb ); | std::basic_streambuf<CharT,Traits>* rdbuf( std::basic_streambuf<CharT,Traits>* sb ); | ||
}} | }} | ||
− | {{ | + | {{end}} |
{{tr|関連付けられたストリームバッファを管理します.|Manages the associated stream buffer.}} | {{tr|関連付けられたストリームバッファを管理します.|Manages the associated stream buffer.}} | ||
− | 1) {{tr|関連付けられているストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品{{ | + | 1) {{tr|関連付けられているストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品{{|NULL}}.|Returns the associated stream buffer. If there is no associated stream buffer, returns {{|NULL}}.}} |
− | 2) {{tr|{{tt|sb}}に関連付けられたストリームバッファを設定します。 {{tt|sb}}のエラー状態が{{c|sb.clear()}}を呼び出すことによってクリアされます。操作する前に、関連付けられたストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品{{ | + | 2) {{tr|{{tt|sb}}に関連付けられたストリームバッファを設定します。 {{tt|sb}}のエラー状態が{{c|sb.clear()}}を呼び出すことによってクリアされます。操作する前に、関連付けられたストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品{{|NULL}}.|Sets the associated stream buffer to {{tt|sb}}. The error state of {{tt|sb}} is cleared by calling {{c|sb.clear()}}. Returns the associated stream buffer before the operation. If there is no associated stream buffer, returns {{|NULL}}.}} |
===パラメータ=== | ===パラメータ=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| sb |{{tr| ストリームバッファに関連付けることができます| stream buffer to associate to}}}} |
− | {{ | + | {{end}} |
===値を返します=== | ===値を返します=== | ||
− | {{tr|関連付けられたストリームバッファがなかった場合、関連付けられたストリームバッファ、または{{ | + | {{tr|関連付けられたストリームバッファがなかった場合、関連付けられたストリームバッファ、または{{|NULL}}.|The associated stream buffer, or {{|NULL}} if there was no associated stream buffer.}} |
===例外=== | ===例外=== | ||
35行: | 35行: | ||
===も参照してください=== | ===も参照してください=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/io/basic_ios/set_rdbuf}} |
− | {{ | + | {{end}} |
[[de:cpp/io/basic ios/rdbuf]] | [[de:cpp/io/basic ios/rdbuf]] |
2013年7月2日 (火) 13:12時点における版
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
std::basic_streambuf<CharT,Traits>* rdbuf() const; |
(1) | |
std::basic_streambuf<CharT,Traits>* rdbuf( std::basic_streambuf<CharT,Traits>* sb ); |
(2) | |
関連付けられたストリームバッファを管理します.
1) Original:
Manages the associated stream buffer.
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.
関連付けられているストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品NULL.
2) Original:
Returns the associated stream buffer. If there is no associated stream buffer, returns NULL.
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.
sb
に関連付けられたストリームバッファを設定します。 sb
のエラー状態がsb.clear()を呼び出すことによってクリアされます。操作する前に、関連付けられたストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品NULL.Original:
Sets the associated stream buffer to
sb
. The error state of sb
is cleared by calling sb.clear(). Returns the associated stream buffer before the operation. If there is no associated stream buffer, returns NULL.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.
目次 |
パラメータ
sb | - | ストリームバッファに関連付けることができます
Original: stream buffer to associate to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
値を返します
関連付けられたストリームバッファがなかった場合、関連付けられたストリームバッファ、またはNULL.
Original:
The associated stream buffer, or NULL if there was no associated stream buffer.
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.
例外
(なし)
Original:
(none)
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 |
も参照してください
エラー状態をクリアせずに rdbuf を置き換えます (プロテクテッドメンバ関数) |