Sese Framework  x.y.z
A cross-platform framework
载入中...
搜索中...
未找到
sese::io::ClosableFakeStream< T > 模板类 参考

可关闭的伪装流 更多...

#include <FakeStream.h>

类 sese::io::ClosableFakeStream< T > 继承关系图:
sese::io::FakeStream< T > sese::io::Closeable sese::io::Stream sese::io::InputStream sese::io::OutputStream

Public 成员函数

 ClosableFakeStream (T *t)
 
void close () override
 
- Public 成员函数 继承自 sese::io::FakeStream< T >
 FakeStream (T *t)
 
int64_t read (void *buffer, size_t length) override
 
int64_t write (const void *buffer, size_t length) override
 
- Public 成员函数 继承自 sese::io::InputStream
virtual ~InputStream () noexcept=default
 
- Public 成员函数 继承自 sese::io::OutputStream
virtual ~OutputStream () noexcept=default
 
int64_t write (const std::string_view &buffer)
 
int64_t write (const text::StringView &buffer)
 
template<typename T >
int64_t write (std::vector< T > &buffer)
 
template<typename T , size_t N>
int64_t write (std::array< T, N > &buffer)
 
- Public 成员函数 继承自 sese::io::Closeable
virtual ~Closeable ()=default
 

额外继承的成员函数

- Public 类型 继承自 sese::io::Stream
typedef std::shared_ptr< StreamPtr
 
- Public 类型 继承自 sese::io::InputStream
typedef std::shared_ptr< InputStreamPtr
 
- Public 类型 继承自 sese::io::OutputStream
typedef std::shared_ptr< OutputStreamPtr
 
- Protected 属性 继承自 sese::io::FakeStream< T >
T * t
 

详细描述

template<typename T>
class sese::io::ClosableFakeStream< T >

可关闭的伪装流

模板参数
T包装类型

构造及析构函数说明

◆ ClosableFakeStream()

template<typename T >
sese::io::ClosableFakeStream< T >::ClosableFakeStream ( T * t)
inlineexplicit

成员函数说明

◆ close()

template<typename T >
void sese::io::ClosableFakeStream< T >::close ( )
inlineoverridevirtual

该类的文档由以下文件生成: