名前空間
変種
操作

「cpp/io/basic ios/rdbuf」の版間の差分

提供: cppreference.com
< cpp‎ | io‎ | basic ios
(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}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list item | num = 1 |
+
{{| num = 1 |
 
std::basic_streambuf<CharT,Traits>* rdbuf() const;
 
std::basic_streambuf<CharT,Traits>* rdbuf() const;
 
}}
 
}}
{{ddcl list item | num = 2 |
+
{{| 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 );
 
}}
 
}}
{{ddcl list end}}
+
{{end}}
  
 
{{tr|関連付けられたストリームバッファを管理します.|Manages the associated stream buffer.}}
 
{{tr|関連付けられたストリームバッファを管理します.|Manages the associated stream buffer.}}
  
1) {{tr|関連付けられているストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品{{c|NULL}}.|Returns the associated stream buffer. If there is no associated stream buffer, returns {{c|NULL}}.}}
+
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()}}を呼び出すことによってクリアされます。操作する前に、関連付けられたストリームバッファを返します。関連付けられたストリームバッファが存在しない場合は、返品{{c|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 {{c|NULL}}.}}
+
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}}.}}
  
 
===パラメータ===
 
===パラメータ===
{{param list begin}}
+
{{begin}}
{{param list item | sb |{{tr| ストリームバッファに関連付けることができます| stream buffer to associate to}}}}
+
{{| sb |{{tr| ストリームバッファに関連付けることができます| stream buffer to associate to}}}}
{{param list end}}
+
{{end}}
  
 
===値を返します===
 
===値を返します===
{{tr|関連付けられたストリームバッファがなかった場合、関連付けられたストリームバッファ、または{{c|NULL}}.|The associated stream buffer, or {{c|NULL}} if there was no associated stream buffer.}}
+
{{tr|関連付けられたストリームバッファがなかった場合、関連付けられたストリームバッファ、または{{|NULL}}.|The associated stream buffer, or {{|NULL}} if there was no associated stream buffer.}}
  
 
===例外===
 
===例外===
35行: 35行:
  
 
===も参照してください===
 
===も参照してください===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/io/basic_ios/dcl list set_rdbuf}}
+
{{| cpp/io/basic_ios/set_rdbuf}}
{{dcl list end}}
+
{{end}}
  
 
[[de:cpp/io/basic ios/rdbuf]]
 
[[de:cpp/io/basic ios/rdbuf]]

2013年7月2日 (火) 13:12時点における版

 
 
入出力ライブラリ
入出力マニピュレータ
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]