System::IO::BasicSystemIOStreamBuf 类
BasicSystemIOStreamBuf class
表示一个缓冲区,该缓冲区包装 System::IO::Stream-like 流,并允许它们在 std::iostream-like 流中用作内部缓冲区。
template<typename Elem,typename Traits>class BasicSystemIOStreamBuf : public std::basic_streambuf<Elem, std::char_traits<Elem>>
方法
| 方法 | 描述 |
|---|---|
| AssignRV(BasicSystemIOStreamBuf&&) | 在移动构造函数和移动赋值运算符中使用,以重置指针并调用 swap()。 |
| explicit BasicSystemIOStreamBuf() | 构造一个新的 BasicSystemIOStreamBuf 实例。 |
| explicit BasicSystemIOStreamBuf(const SharedPtr<Stream>&, SystemIOStreamWrappingMode, const std::locale&) | 构造一个新的 BasicSystemIOStreamBuf 实例。 |
| BasicSystemIOStreamBuf(const BasicSystemIOStreamBuf&) | 拷贝构造函数。已删除。 |
| BasicSystemIOStreamBuf(BasicSystemIOStreamBuf&&) | 移动构造函数。 |
| operator=(const BasicSystemIOStreamBuf&) | 拷贝赋值运算符。已删除。 |
| operator=(BasicSystemIOStreamBuf&&) | 移动赋值运算符。 |
| swap(BasicSystemIOStreamBuf&) | 如果它们不相等,则调用交换 *this 和 right。 |
| ~BasicSystemIOStreamBuf() override | 析构函数。 |
Typedefs
| 类型定义 | 描述 |
|---|---|
| char_type | |
| int_type | |
| Mysb | |
| off_type | |
| pos_type | |
| traits_type |
另见
- Namespace System::IO
- Library Aspose.Page for C++