CommonLibSSE NG
Loading...
Searching...
No Matches
RE::BSMemStorage Class Reference

#include <BSMemStorage.h>

Inheritance diagram for RE::BSMemStorage:
RE::BSStorage RE::BSIntrusiveRefCounted RE::LoadStorageWrapper RE::SaveStorageWrapper

Public Member Functions

 ~BSMemStorage () override
 
std::size_t GetSize () const override
 
std::size_t GetPosition () const override
 
BSStorageDefs::ErrorCode Seek (std::size_t a_offset, BSStorageDefs::SeekMode a_seekMode) const override
 
BSStorageDefs::ErrorCode Read (std::size_t a_numBytes, std::byte *a_bytes) const override
 
BSStorageDefs::ErrorCode Write (std::size_t a_numBytes, const std::byte *a_bytes) override
 
- Public Member Functions inherited from RE::BSStorage
virtual ~BSStorage ()
 
virtual std::size_t GetSize () const =0
 
virtual std::size_t GetPosition () const =0
 
virtual BSStorageDefs::ErrorCode Seek (std::size_t a_offset, BSStorageDefs::SeekMode a_seekMode) const =0
 
virtual BSStorageDefs::ErrorCode Read (std::size_t a_numBytes, std::byte *a_bytes) const =0
 
virtual BSStorageDefs::ErrorCode Write (std::size_t a_numBytes, const std::byte *a_bytes)=0
 
- Public Member Functions inherited from RE::BSIntrusiveRefCounted
std::uint32_t IncRef () const
 
std::uint32_t DecRef () const
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

Win32FileType * file
 
std::uint64_t unk28
 
- Public Attributes inherited from RE::BSStorage
bool swapBytes
 
bool unk0D
 
uint16_t unk0E
 
UnkDataunk10
 
std::uint64_t unk18
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSMemStorage
 
static constexpr auto VTABLE = VTABLE_BSMemStorage
 
- Static Public Attributes inherited from RE::BSStorage
static constexpr auto RTTI = RTTI_BSStorage
 

Additional Inherited Members

- Protected Attributes inherited from RE::BSIntrusiveRefCounted
volatile std::uint32_t _refCount { 0 }
 

Constructor & Destructor Documentation

◆ ~BSMemStorage()

RE::BSMemStorage::~BSMemStorage ( )
override

Member Function Documentation

◆ GetPosition()

std::size_t RE::BSMemStorage::GetPosition ( ) const
overridevirtual

Implements RE::BSStorage.

Reimplemented in RE::LoadStorageWrapper, and RE::SaveStorageWrapper.

◆ GetSize()

std::size_t RE::BSMemStorage::GetSize ( ) const
overridevirtual

Implements RE::BSStorage.

Reimplemented in RE::LoadStorageWrapper, and RE::SaveStorageWrapper.

◆ Read()

BSStorageDefs::ErrorCode RE::BSMemStorage::Read ( std::size_t  a_numBytes,
std::byte *  a_bytes 
) const
overridevirtual

Implements RE::BSStorage.

Reimplemented in RE::LoadStorageWrapper, and RE::SaveStorageWrapper.

◆ Seek()

BSStorageDefs::ErrorCode RE::BSMemStorage::Seek ( std::size_t  a_offset,
BSStorageDefs::SeekMode  a_seekMode 
) const
overridevirtual

Implements RE::BSStorage.

Reimplemented in RE::LoadStorageWrapper, and RE::SaveStorageWrapper.

◆ Write()

BSStorageDefs::ErrorCode RE::BSMemStorage::Write ( std::size_t  a_numBytes,
const std::byte *  a_bytes 
)
overridevirtual

Implements RE::BSStorage.

Reimplemented in RE::LoadStorageWrapper, and RE::SaveStorageWrapper.

Member Data Documentation

◆ file

Win32FileType* RE::BSMemStorage::file

◆ RTTI

constexpr auto RE::BSMemStorage::RTTI = RTTI_BSMemStorage
inlinestaticconstexpr

◆ unk28

std::uint64_t RE::BSMemStorage::unk28

◆ VTABLE

constexpr auto RE::BSMemStorage::VTABLE = VTABLE_BSMemStorage
inlinestaticconstexpr

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