Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::ut::CharStrmReader Class Reference

#include <CharStrmReader.h>

Public Types

typedef u16(CharStrmReader::*) ReadFunc()
 

Public Member Functions

 CharStrmReader (ReadFunc func)
 
void Set (const char *stream)
 
void Set (const wchar_t *stream)
 
const void * GetCurrentPos () const
 
u16 Next ()
 
u16 ReadNextCharUTF8 ()
 
u16 ReadNextCharUTF16 ()
 
u16 ReadNextCharCP1252 ()
 
u16 ReadNextCharSJIS ()
 
template<typename T >
T GetChar () const
 
template<typename T >
T GetChar (int offset) const
 
template<typename T >
void StepStrm (int step)
 

Public Attributes

const void * mCharStrm
 
const ReadFunc mReadFunc
 

Member Typedef Documentation

◆ ReadFunc

u16(CharStrmReader::*) nw4hbm::ut::CharStrmReader::ReadFunc()

Constructor & Destructor Documentation

◆ CharStrmReader()

nw4hbm::ut::CharStrmReader::CharStrmReader ( ReadFunc func)
inline

Member Function Documentation

◆ GetChar() [1/2]

template<typename T >
T nw4hbm::ut::CharStrmReader::GetChar ( ) const
inline

◆ GetChar() [2/2]

template<typename T >
T nw4hbm::ut::CharStrmReader::GetChar ( int offset) const
inline

◆ GetCurrentPos()

const void * nw4hbm::ut::CharStrmReader::GetCurrentPos ( ) const
inline

◆ Next()

u16 nw4hbm::ut::CharStrmReader::Next ( )
inline

◆ ReadNextCharCP1252()

u16 nw4hbm::ut::CharStrmReader::ReadNextCharCP1252 ( )

◆ ReadNextCharSJIS()

u16 nw4hbm::ut::CharStrmReader::ReadNextCharSJIS ( )

◆ ReadNextCharUTF16()

u16 nw4hbm::ut::CharStrmReader::ReadNextCharUTF16 ( )

◆ ReadNextCharUTF8()

u16 nw4hbm::ut::CharStrmReader::ReadNextCharUTF8 ( )

◆ Set() [1/2]

void nw4hbm::ut::CharStrmReader::Set ( const char * stream)
inline

◆ Set() [2/2]

void nw4hbm::ut::CharStrmReader::Set ( const wchar_t * stream)
inline

◆ StepStrm()

template<typename T >
void nw4hbm::ut::CharStrmReader::StepStrm ( int step)
inline

Member Data Documentation

◆ mCharStrm

const void* nw4hbm::ut::CharStrmReader::mCharStrm

◆ mReadFunc

const ReadFunc nw4hbm::ut::CharStrmReader::mReadFunc

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