CommonLibSSE (Parapets fork)
RE::BSResource::DevNull::NullStream Struct Reference

#include <DevNull.h>

Inheritance diagram for RE::BSResource::DevNull::NullStream:
RE::BSResource::Stream RE::BSResource::StreamBase

Public Member Functions

 ~NullStream () override
 
ErrorCode DoOpen () override
 
void DoClose () override
 
void DoClone (BSTSmartPointer< Stream > &a_out) const override
 
ErrorCode DoRead (void *a_buffer, std::uint64_t a_toRead, std::uint64_t &a_read) const override
 
ErrorCode DoWrite (const void *a_buffer, std::uint64_t a_toWrite, std::uint64_t &a_written) const override
 
ErrorCode DoSeek (std::uint64_t a_toSeek, SeekMode a_mode, std::uint64_t &a_sought) const override
 
- Public Member Functions inherited from RE::BSResource::Stream
 Stream ()
 
 Stream (const Stream &a_rhs)
 
 Stream (Stream &&a_rhs)
 
 Stream (std::uint32_t a_totalSize)
 
 ~Stream () override=default
 
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 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
 

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
 
- Static Public Attributes inherited from RE::BSResource::Stream
static constexpr auto RTTI = RTTI_BSResource__Stream
 
- Static Public Attributes inherited from RE::BSResource::StreamBase
static constexpr auto RTTI = RTTI_BSResource__StreamBase
 

Constructor & Destructor Documentation

◆ ~NullStream()

RE::BSResource::DevNull::NullStream::~NullStream ( )
override

Member Function Documentation

◆ DoClone()

void RE::BSResource::DevNull::NullStream::DoClone ( BSTSmartPointer< Stream > &  a_out) const
overridevirtual

◆ DoClose()

void RE::BSResource::DevNull::NullStream::DoClose ( )
overridevirtual

◆ DoOpen()

ErrorCode RE::BSResource::DevNull::NullStream::DoOpen ( )
overridevirtual

◆ DoRead()

ErrorCode RE::BSResource::DevNull::NullStream::DoRead ( void *  a_buffer,
std::uint64_t  a_toRead,
std::uint64_t &  a_read 
) const
overridevirtual

◆ DoSeek()

ErrorCode RE::BSResource::DevNull::NullStream::DoSeek ( std::uint64_t  a_toSeek,
SeekMode  a_mode,
std::uint64_t &  a_sought 
) const
overridevirtual

◆ DoWrite()

ErrorCode RE::BSResource::DevNull::NullStream::DoWrite ( const void *  a_buffer,
std::uint64_t  a_toWrite,
std::uint64_t &  a_written 
) const
overridevirtual

The documentation for this struct was generated from the following file: