Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JKRFileLoader Class Referenceabstract

#include <JKRFileLoader.h>

+ Inheritance diagram for JKRFileLoader:
+ Collaboration diagram for JKRFileLoader:

Public Member Functions

 JKRFileLoader (void)
 
virtual ~JKRFileLoader ()
 
bool isMounted () const
 
u32 getVolumeType () const
 
virtual void unmount (void)
 
virtual bool becomeCurrent (const char *)=0
 
virtual voidgetResource (const char *)=0
 
virtual voidgetResource (u32, const char *)=0
 
virtual u32 readResource (void *, u32, const char *)=0
 
virtual u32 readResource (void *, u32, u32, const char *)=0
 
virtual void removeResourceAll (void)=0
 
virtual bool removeResource (void *)=0
 
virtual bool detachResource (void *)=0
 
virtual u32 getResSize (const void *) const =0
 
virtual u32 countFile (const char *) const =0
 
virtual JKRFileFindergetFirstFile (const char *) const =0
 
- Public Member Functions inherited from JKRDisposer
 JKRDisposer ()
 
virtual ~JKRDisposer ()
 

Static Public Member Functions

static voidgetGlbResource (const char *)
 
static voidgetGlbResource (const char *, JKRFileLoader *)
 
static bool removeResource (void *, JKRFileLoader *)
 
static bool detachResource (void *, JKRFileLoader *)
 
static JKRFileLoaderfindVolume (const char **)
 
static const charfetchVolumeName (char *, s32, const char *)
 
static JKRFileLoadergetCurrentVolume ()
 
static void setCurrentVolume (JKRFileLoader *fileLoader)
 
static JSUList< JKRFileLoader > & getVolumeList ()
 

Static Public Attributes

static JKRFileLoadersCurrentVolume
 
static JSUList< JKRFileLoadersVolumeList
 

Protected Attributes

JSULink< JKRFileLoadermFileLoaderLink
 
const charmVolumeName
 
u32 mVolumeType
 
bool mIsMounted
 
u8 field_0x31 [3]
 
u32 mMountCount
 

Additional Inherited Members

- Public Attributes inherited from JKRDisposer
JKRHeapmHeap
 
JSULink< JKRDisposermLink
 

Constructor & Destructor Documentation

◆ JKRFileLoader()

JKRFileLoader::JKRFileLoader ( void  )

◆ ~JKRFileLoader()

JKRFileLoader::~JKRFileLoader ( )
virtual

Member Function Documentation

◆ becomeCurrent()

virtual bool JKRFileLoader::becomeCurrent ( const char )
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ countFile()

virtual u32 JKRFileLoader::countFile ( const char ) const
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ detachResource() [1/2]

virtual bool JKRFileLoader::detachResource ( void )
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ detachResource() [2/2]

bool JKRFileLoader::detachResource ( void resource,
JKRFileLoader fileLoader 
)
static

◆ fetchVolumeName()

const char * JKRFileLoader::fetchVolumeName ( char buffer,
s32  bufferSize,
const char path 
)
static

◆ findVolume()

JKRFileLoader * JKRFileLoader::findVolume ( const char **  volumeName)
static

◆ getCurrentVolume()

static JKRFileLoader * JKRFileLoader::getCurrentVolume ( )
inlinestatic

◆ getFirstFile()

virtual JKRFileFinder * JKRFileLoader::getFirstFile ( const char ) const
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ getGlbResource() [1/2]

void * JKRFileLoader::getGlbResource ( const char name)
static

◆ getGlbResource() [2/2]

void * JKRFileLoader::getGlbResource ( const char name,
JKRFileLoader fileLoader 
)
static

◆ getResource() [1/2]

virtual void * JKRFileLoader::getResource ( const char )
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ getResource() [2/2]

virtual void * JKRFileLoader::getResource ( u32  ,
const char  
)
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ getResSize()

virtual u32 JKRFileLoader::getResSize ( const void ) const
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ getVolumeList()

static JSUList< JKRFileLoader > & JKRFileLoader::getVolumeList ( )
inlinestatic

◆ getVolumeType()

u32 JKRFileLoader::getVolumeType ( ) const
inline

◆ isMounted()

bool JKRFileLoader::isMounted ( ) const
inline

◆ readResource() [1/2]

virtual u32 JKRFileLoader::readResource ( void ,
u32  ,
const char  
)
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ readResource() [2/2]

virtual u32 JKRFileLoader::readResource ( void ,
u32  ,
u32  ,
const char  
)
pure virtual

Implemented in JKRArchive, and JKRFileCache.

◆ removeResource() [1/2]

virtual bool JKRFileLoader::removeResource ( void )
pure virtual

◆ removeResource() [2/2]

bool JKRFileLoader::removeResource ( void resource,
JKRFileLoader fileLoader 
)
static

◆ removeResourceAll()

virtual void JKRFileLoader::removeResourceAll ( void  )
pure virtual

◆ setCurrentVolume()

static void JKRFileLoader::setCurrentVolume ( JKRFileLoader fileLoader)
inlinestatic

◆ unmount()

void JKRFileLoader::unmount ( void  )
virtual

Member Data Documentation

◆ field_0x31

u8 JKRFileLoader::field_0x31[3]
protected

◆ mFileLoaderLink

JSULink<JKRFileLoader> JKRFileLoader::mFileLoaderLink
protected

◆ mIsMounted

bool JKRFileLoader::mIsMounted
protected

◆ mMountCount

u32 JKRFileLoader::mMountCount
protected

◆ mVolumeName

const char* JKRFileLoader::mVolumeName
protected

◆ mVolumeType

u32 JKRFileLoader::mVolumeType
protected

◆ sCurrentVolume

JKRFileLoader * JKRFileLoader::sCurrentVolume
static

◆ sVolumeList

JSUList< JKRFileLoader > JKRFileLoader::sVolumeList
static

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