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

#include <BSFile.h>

Inheritance diagram for RE::BSFile:
RE::NiFile RE::NiBinaryStream RE::Archive

Public Member Functions

 ~BSFile () override
 
void seek (std::int32_t a_numBytes) override
 
void set_endian_swap (bool a_doSwap) override
 
void seek (std::int32_t a_offset, std::int32_t a_from) override
 
std::uint32_t size () const override
 
virtual void Unk_08 (void)
 
virtual void Unk_09 (void)
 
virtual void Unk_0A (void)
 
virtual void Unk_0B (void)
 
virtual void Unk_0C (void)
 
virtual void Unk_0D (void)
 
virtual void Unk_0E (void)
 
virtual void Unk_0F (void)
 
virtual void Unk_10 (void)
 
virtual void Unk_11 (void)
 
virtual void Unk_12 (void)
 
- Public Member Functions inherited from RE::NiFile
 ~NiFile () override
 
bool good () const override
 
void seek (std::int32_t a_numBytes) override
 
void get_info (BufferInfo &a_buf) override
 
void set_endian_swap (bool a_doSwap) override
 
virtual void seek (std::int32_t a_offset, std::int32_t a_from)
 
virtual std::uint32_t size () const
 
- Public Member Functions inherited from RE::NiBinaryStream
 NiBinaryStream ()
 
virtual ~NiBinaryStream ()
 
virtual bool good () const =0
 
virtual void seek (std::int32_t a_numBytes)=0
 
virtual std::uint32_t tell () const
 
virtual void get_info (BufferInfo &a_buf)
 
virtual void set_endian_swap (bool a_doSwap)=0
 
template<class CharT >
bool get (CharT &a_ch)
 
template<class CharT >
bool read (CharT *a_str, std::uint32_t a_count)
 
template<class CharT >
bool put (CharT a_ch)
 
template<class CharT >
bool write (const CharT *a_str, std::uint32_t a_count)
 

Public Attributes

bool useAuxBuffer
 
std::uint8_t pad049
 
std::uint16_t pad04A
 
std::uint32_t pad04C
 
char * auxBuffer
 
std::int32_t auxTrueFilePos
 
std::uint32_t auxBufferMinIndex
 
std::uint32_t auxBufferMaxIndex
 
char fileName [MAX_PATH]
 
std::uint32_t result
 
std::uint32_t ioSize
 
std::uint32_t trueFilePos
 
std::uint32_t fileSize
 
bool virtualAlloc
 
std::uint8_t unk179
 
std::uint16_t unk17A
 
- Public Attributes inherited from RE::NiFile
std::uint32_t bufferAllocSize
 
std::uint32_t bufferReadSize
 
std::uint32_t pos
 
std::uint32_t pad2C
 
char * buffer
 
std::FILE * file
 
stl::enumeration< OpenMode, std::uint32_t > mode
 
bool isGood
 
std::uint8_t pad45
 
std::uint16_t pad46
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSFile
 
- Static Public Attributes inherited from RE::NiFile
static constexpr auto RTTI = RTTI_NiFile
 
- Static Public Attributes inherited from RE::NiBinaryStream
static constexpr auto RTTI = RTTI_NiBinaryStream
 

Additional Inherited Members

- Public Types inherited from RE::NiFile
enum class  OpenMode { kReadOnly = 0 , kWriteOnly = 1 , kAppendOnly = 2 }
 
- Public Types inherited from RE::NiBinaryStream
using int_type = std::int32_t
 
using pos_type = std::uint32_t
 
using off_type = std::int32_t
 
- Protected Types inherited from RE::NiBinaryStream
using ReadFn = std::uint32_t(NiBinaryStream *a_this, void *a_buffer, std::uint32_t a_bytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents)
 
using WriteFn = std::uint32_t(NiBinaryStream *a_this, const void *a_buffer, std::uint32_t a_bytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents)
 
- Protected Member Functions inherited from RE::NiBinaryStream
std::uint32_t binary_read (void *a_buffer, std::uint32_t a_totalBytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents=1)
 
std::uint32_t binary_write (const void *a_buffer, std::uint32_t a_totalBytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents=1)
 
- Protected Attributes inherited from RE::NiBinaryStream
std::uint32_t _absoluteCurrentPos
 
std::uint32_t _pad0C
 
ReadFn_readFn
 
WriteFn_writeFn
 

Constructor & Destructor Documentation

◆ ~BSFile()

RE::BSFile::~BSFile ( )
override

Member Function Documentation

◆ seek() [1/2]

void RE::BSFile::seek ( std::int32_t  a_numBytes)
overridevirtual

Implements RE::NiBinaryStream.

◆ seek() [2/2]

void RE::BSFile::seek ( std::int32_t  a_offset,
std::int32_t  a_from 
)
overridevirtual

Reimplemented from RE::NiFile.

◆ set_endian_swap()

void RE::BSFile::set_endian_swap ( bool  a_doSwap)
overridevirtual

Implements RE::NiBinaryStream.

◆ size()

std::uint32_t RE::BSFile::size ( ) const
overridevirtual

Reimplemented from RE::NiFile.

◆ Unk_08()

virtual void RE::BSFile::Unk_08 ( void  )
virtual

◆ Unk_09()

virtual void RE::BSFile::Unk_09 ( void  )
virtual

◆ Unk_0A()

virtual void RE::BSFile::Unk_0A ( void  )
virtual

◆ Unk_0B()

virtual void RE::BSFile::Unk_0B ( void  )
virtual

◆ Unk_0C()

virtual void RE::BSFile::Unk_0C ( void  )
virtual

◆ Unk_0D()

virtual void RE::BSFile::Unk_0D ( void  )
virtual

◆ Unk_0E()

virtual void RE::BSFile::Unk_0E ( void  )
virtual

◆ Unk_0F()

virtual void RE::BSFile::Unk_0F ( void  )
virtual

◆ Unk_10()

virtual void RE::BSFile::Unk_10 ( void  )
virtual

◆ Unk_11()

virtual void RE::BSFile::Unk_11 ( void  )
virtual

◆ Unk_12()

virtual void RE::BSFile::Unk_12 ( void  )
virtual

Member Data Documentation

◆ auxBuffer

char* RE::BSFile::auxBuffer

◆ auxBufferMaxIndex

std::uint32_t RE::BSFile::auxBufferMaxIndex

◆ auxBufferMinIndex

std::uint32_t RE::BSFile::auxBufferMinIndex

◆ auxTrueFilePos

std::int32_t RE::BSFile::auxTrueFilePos

◆ fileName

char RE::BSFile::fileName[MAX_PATH]

◆ fileSize

std::uint32_t RE::BSFile::fileSize

◆ ioSize

std::uint32_t RE::BSFile::ioSize

◆ pad049

std::uint8_t RE::BSFile::pad049

◆ pad04A

std::uint16_t RE::BSFile::pad04A

◆ pad04C

std::uint32_t RE::BSFile::pad04C

◆ result

std::uint32_t RE::BSFile::result

◆ RTTI

constexpr auto RE::BSFile::RTTI = RTTI_BSFile
inlinestaticconstexpr

◆ trueFilePos

std::uint32_t RE::BSFile::trueFilePos

◆ unk179

std::uint8_t RE::BSFile::unk179

◆ unk17A

std::uint16_t RE::BSFile::unk17A

◆ useAuxBuffer

bool RE::BSFile::useAuxBuffer

◆ virtualAlloc

bool RE::BSFile::virtualAlloc

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