CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::BSResource::StreamBase Class Referenceabstract

#include <StreamBase.h>

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

Public Types

enum  : std::uint32_t { kWritable = 1 << 0 , kRefCountBeg = 0x1000 , kRefCountMask = (std::uint32_t)0xFFFFF000 }
 

Public Member Functions

 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
 

Public Attributes

std::uint32_t totalSize
 
std::uint32_t flags
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSResource__StreamBase
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : std::uint32_t
Enumerator
kWritable 
kRefCountBeg 
kRefCountMask 

Constructor & Destructor Documentation

◆ StreamBase() [1/4]

RE::BSResource::StreamBase::StreamBase ( )

◆ StreamBase() [2/4]

RE::BSResource::StreamBase::StreamBase ( const StreamBase a_rhs)

◆ StreamBase() [3/4]

RE::BSResource::StreamBase::StreamBase ( StreamBase &&  a_rhs)

◆ StreamBase() [4/4]

RE::BSResource::StreamBase::StreamBase ( std::uint32_t  a_totalSize)

◆ ~StreamBase()

virtual RE::BSResource::StreamBase::~StreamBase ( )
virtualdefault

Member Function Documentation

◆ DecRef()

std::uint32_t RE::BSResource::StreamBase::DecRef ( )

◆ DoClose()

virtual void RE::BSResource::StreamBase::DoClose ( )
pure virtual

◆ DoGetInfo()

virtual ErrorCode RE::BSResource::StreamBase::DoGetInfo ( Info a_info)
virtual

◆ DoGetKey()

virtual std::uint64_t RE::BSResource::StreamBase::DoGetKey ( ) const
virtual

◆ DoOpen()

virtual ErrorCode RE::BSResource::StreamBase::DoOpen ( )
pure virtual

◆ IncRef()

std::uint32_t RE::BSResource::StreamBase::IncRef ( )

◆ IsWritable()

bool RE::BSResource::StreamBase::IsWritable ( ) const

◆ TES_HEAP_REDEFINE_NEW()

RE::BSResource::StreamBase::TES_HEAP_REDEFINE_NEW ( )

Member Data Documentation

◆ flags

std::uint32_t RE::BSResource::StreamBase::flags

◆ RTTI

constexpr auto RE::BSResource::StreamBase::RTTI = RTTI_BSResource__StreamBase
inlinestaticconstexpr

◆ totalSize

std::uint32_t RE::BSResource::StreamBase::totalSize

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