FFL
Loading...
Searching...
No Matches
FFLiFsFile Class Reference

#include <FFLiFsFile.h>

Public Member Functions

 FFLiFsFile (FFLiFsCommand *pCommand)
 ~FFLiFsFile ()
FSStatus Open (const char *path, const char *mode, FSRetFlag errHandling=FS_RET_NO_ERROR)
FSStatus Close (FSRetFlag errHandling=FS_RET_NO_ERROR)
FSStatus Read (void *dst, u32 size, u32 count, FSRetFlag errHandling=FS_RET_NO_ERROR, FSFlag flag=0)
FSStatus ReadWithPos (void *dst, u32 size, u32 count, u32 pos, FSRetFlag errHandling=FS_RET_NO_ERROR, FSFlag flag=0)
FSStatus Write (const void *src, u32 size, u32 count, FSRetFlag errHandling=FS_RET_NO_ERROR, FSFlag flag=0)
bool IsOpened () const

Static Public Member Functions

static FSStatus FlushQuota (FFLiFsCommand *pCommand, const char *path, FSRetFlag errHandling=FS_RET_NO_ERROR)

Private Attributes

FFLiFsCommandm_pFsCommand
FSFileHandle m_Handle

Constructor & Destructor Documentation

◆ FFLiFsFile()

FFLiFsFile::FFLiFsFile ( FFLiFsCommand * pCommand)

◆ ~FFLiFsFile()

FFLiFsFile::~FFLiFsFile ( )

Member Function Documentation

◆ Open()

FSStatus FFLiFsFile::Open ( const char * path,
const char * mode,
FSRetFlag errHandling = FS_RET_NO_ERROR )

◆ Close()

FSStatus FFLiFsFile::Close ( FSRetFlag errHandling = FS_RET_NO_ERROR)

◆ Read()

FSStatus FFLiFsFile::Read ( void * dst,
u32 size,
u32 count,
FSRetFlag errHandling = FS_RET_NO_ERROR,
FSFlag flag = 0 )

◆ ReadWithPos()

FSStatus FFLiFsFile::ReadWithPos ( void * dst,
u32 size,
u32 count,
u32 pos,
FSRetFlag errHandling = FS_RET_NO_ERROR,
FSFlag flag = 0 )

◆ Write()

FSStatus FFLiFsFile::Write ( const void * src,
u32 size,
u32 count,
FSRetFlag errHandling = FS_RET_NO_ERROR,
FSFlag flag = 0 )

◆ IsOpened()

bool FFLiFsFile::IsOpened ( ) const

◆ FlushQuota()

FSStatus FFLiFsFile::FlushQuota ( FFLiFsCommand * pCommand,
const char * path,
FSRetFlag errHandling = FS_RET_NO_ERROR )
static

Member Data Documentation

◆ m_pFsCommand

FFLiFsCommand* FFLiFsFile::m_pFsCommand
private

◆ m_Handle

FSFileHandle FFLiFsFile::m_Handle
private