CommonLibVR
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 ()
 
- 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 auto RTTI = RTTI_BSMemStorage
 
static auto VTABLE = VTABLE_BSMemStorage
 
- Static Public Attributes inherited from RE::BSStorage
static constexpr auto RTTI = RTTI_BSStorage
 
static constexpr auto VTABLE = VTABLE_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::SaveStorageWrapper, and RE::LoadStorageWrapper.

◆ GetSize()

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

Implements RE::BSStorage.

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

◆ Read()

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

Implements RE::BSStorage.

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

◆ Seek()

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

Implements RE::BSStorage.

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

◆ Write()

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

Implements RE::BSStorage.

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

Member Data Documentation

◆ file

Win32FileType* RE::BSMemStorage::file

◆ RTTI

auto RE::BSMemStorage::RTTI = RTTI_BSMemStorage
inlinestatic

◆ unk28

std::uint64_t RE::BSMemStorage::unk28

◆ VTABLE

auto RE::BSMemStorage::VTABLE = VTABLE_BSMemStorage
inlinestatic

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