std::basic_ios::rdbuf
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| std::basic_streambuf<CharT,Traits>* rdbuf() const; |
(1) | |
| std::basic_streambuf<CharT,Traits>* rdbuf( std::basic_streambuf<CharT,Traits>* sb ); |
(2) | |
管理相关的数据流缓冲.
1) 原文:
Manages the associated stream buffer.
返回相关联的流缓冲。如果不存在相关联的数据流缓存器,退货NULL.
2) 原文:
Returns the associated stream buffer. If there is no associated stream buffer, returns NULL.
设置相关的数据流缓存到
sb。 sb通过调用sb.clear()清除错误状态。返回相关的数据流缓冲区之前的操作。如果不存在相关联的数据流缓存器,退货NULL.原文:
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.目录 |
[编辑] 参数
| sb | - | 关联到流缓存器
|
[编辑] 返回值
的相关联的数据流缓存器,或NULL如果没有相关联的数据流缓存器.
原文:
The associated stream buffer, or NULL if there was no associated stream buffer.
[编辑] 例外
(无)
[编辑] 示例
| 本章尚未完成 原因:暂无示例 |
[编辑] 另请参阅
| 取代了 rdbuf不清除其错误状态原文: replaces the rdbuf without clearing its error state(受保护的成员函数) | |