std::basic_ios::rdbuf
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| 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.
[编辑] 為例
| 本節是不完整的 原因: no example |
[编辑] 另請參閱
| 取代了 rdbuf不清除其錯誤狀態Original: replaces the rdbuf without clearing its error stateThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (受保護的成員函數) | |