CommonLibSSE NG
|
#include <Stream.h>
Public Member Functions | |
Stream () | |
Stream (const Stream &a_rhs) | |
Stream (Stream &&a_rhs) | |
Stream (std::uint32_t a_totalSize) | |
~Stream () override=default | |
virtual void | DoClone (BSTSmartPointer< Stream > &a_out) const =0 |
virtual ErrorCode | DoRead (void *a_buffer, std::uint64_t a_toRead, std::uint64_t &a_read) const =0 |
virtual ErrorCode | DoWrite (const void *a_buffer, std::uint64_t a_toWrite, std::uint64_t &a_written) const =0 |
virtual ErrorCode | DoSeek (std::uint64_t a_toSeek, SeekMode a_mode, std::uint64_t &a_sought) const =0 |
virtual ErrorCode | DoSetEndOfStream () |
virtual bool | DoGetName (BSFixedString &a_dst) const |
virtual ErrorCode | DoCreateAsync (BSTSmartPointer< AsyncStream > &a_streamOut) const |
Public Member Functions inherited from RE::BSResource::StreamBase | |
StreamBase () | |
StreamBase (const StreamBase &a_rhs) | |
StreamBase (StreamBase &&a_rhs) | |
StreamBase (std::uint32_t a_totalSize) | |
virtual | ~StreamBase ()=default |
virtual ErrorCode | DoOpen ()=0 |
virtual void | DoClose ()=0 |
virtual std::uint64_t | DoGetKey () const |
virtual ErrorCode | DoGetInfo (Info &a_info) |
TES_HEAP_REDEFINE_NEW () | |
std::uint32_t | DecRef () |
std::uint32_t | IncRef () |
bool | IsWritable () const |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_BSResource__Stream |
Static Public Attributes inherited from RE::BSResource::StreamBase | |
static constexpr auto | RTTI = RTTI_BSResource__StreamBase |
Additional Inherited Members | |
Public Types inherited from RE::BSResource::StreamBase | |
enum | : std::uint32_t { kWritable = 1 << 0 , kRefCountBeg = 0x1000 , kRefCountMask = (std::uint32_t)0xFFFFF000 } |
Public Attributes inherited from RE::BSResource::StreamBase | |
std::uint32_t | totalSize |
std::uint32_t | flags |
RE::BSResource::Stream::Stream | ( | ) |
RE::BSResource::Stream::Stream | ( | const Stream & | a_rhs | ) |
RE::BSResource::Stream::Stream | ( | Stream && | a_rhs | ) |
RE::BSResource::Stream::Stream | ( | std::uint32_t | a_totalSize | ) |
|
overridedefault |
|
pure virtual |
Implemented in RE::BSResource::DevNull::NullStream, and RE::BSResource::LooseFileStream.
|
virtual |
Reimplemented in RE::BSResource::LooseFileStream.
|
virtual |
Reimplemented in RE::BSResource::LooseFileStream.
|
pure virtual |
Implemented in RE::BSResource::DevNull::NullStream, and RE::BSResource::LooseFileStream.
|
pure virtual |
Implemented in RE::BSResource::DevNull::NullStream, and RE::BSResource::LooseFileStream.
|
virtual |
Reimplemented in RE::BSResource::LooseFileStream.
|
pure virtual |
Implemented in RE::BSResource::DevNull::NullStream, and RE::BSResource::LooseFileStream.
|
inlinestaticconstexpr |