System::IO::BasicSystemIOStreamBuf class
BasicSystemIOStreamBuf class
表示一个缓冲区,它包装了类似 System::IO::Stream 的流,并允许它们在类似 std::iostream 的流内部用作缓冲区。
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 不相等时调用 swap。 |
| ~BasicSystemIOStreamBuf() override | 析构函数。 |
Typedefs
| 类型定义 | 描述 |
|---|---|
| char_type | |
| int_type | |
| Mysb | |
| off_type | |
| pos_type | |
| traits_type |
另见
- Namespace System::IO
- Library Aspose.Font for C++