名前空間
変種
操作

std::basic_ios<CharT,Traits>::rdbuf

提供: cppreference.com
< cpp‎ | io‎ | basic ios
2013年7月2日 (火) 13:12時点におけるP12bot (トーク | 投稿記録)による版

 
 
入出力ライブラリ
入出力マニピュレータ
Cスタイルの入出力
バッファ
(C++98で非推奨)
ストリーム
抽象
ファイル入出力
文字列入出力
配列入出力
(C++98で非推奨)
(C++98で非推奨)
(C++98で非推奨)
同期化出力
エラーカテゴリインタフェース
(C++11)
 
 
std::basic_streambuf<CharT,Traits>* rdbuf() const;
(1)
std::basic_streambuf<CharT,Traits>* rdbuf( std::basic_streambuf<CharT,Traits>* sb );
(2)
関連付けられたストリームバッファを管理します.
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.
1)
関連付けられているストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品NULL.
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.
2)
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.

目次

パラメータ

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.

例外

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

も参照してください

エラー状態をクリアせずに rdbuf を置き換えます
(プロテクテッドメンバ関数) [edit]