ZFFramework
 
Loading...
Searching...
No Matches
ZFIO_res_raw.h File Reference

abstract IO More...

#include "ZFIODef.h"

Go to the source code of this file.

Namespaces

namespace  ZFResRaw
 raw res process which bypass ZFResExtPathAdd logic
 

Functions

const zfstringZFPathType_resraw ()
 see ZFPathInfo
 
ZFInput ZFInputForResRaw (const zfstring &resFilePath)
 util to create a resource file input callback, see ZFResOpen for what resource file is
 
zfbool ZFResRaw::ZFResIsExist (const zfstring &resPath)
 raw res process which bypass ZFResExtPathAdd logic
 
zfbool ZFResRaw::ZFResIsDir (const zfstring &resPath)
 raw res process which bypass ZFResExtPathAdd logic
 
zfbool ZFResRaw::ZFResFindFirst (ZFIOFindData &fd, const zfstring &resPath)
 raw res process which bypass ZFResExtPathAdd logic
 
zfbool ZFResRaw::ZFResFindNext (ZFIOFindData &fd)
 raw res process which bypass ZFResExtPathAdd logic
 
void ZFResRaw::ZFResFindClose (ZFIOFindData &fd)
 raw res process which bypass ZFResExtPathAdd logic
 
void * ZFResRaw::ZFResOpen (const zfstring &resPath)
 raw res process which bypass ZFResExtPathAdd logic
 
zfbool ZFResRaw::ZFResClose (void *token)
 raw res process which bypass ZFResExtPathAdd logic
 
zfindex ZFResRaw::ZFResTell (void *token)
 raw res process which bypass ZFResExtPathAdd logic
 
zfbool ZFResRaw::ZFResSeek (void *token, zfindex byteSize, ZFSeekPos seekPos=(ZFSeekPosBegin))
 raw res process which bypass ZFResExtPathAdd logic
 
zfindex ZFResRaw::ZFResRead (void *token, void *buf, zfindex maxByteSize)
 raw res process which bypass ZFResExtPathAdd logic
 
zfindex ZFResRaw::ZFResSize (void *token)
 raw res process which bypass ZFResExtPathAdd logic
 

Detailed Description

abstract IO

Function Documentation

◆ ZFPathType_resraw()

const zfstring & ZFPathType_resraw ( )
extern

see ZFPathInfo

pathData is the raw res path (see ZFResRaw)

Note
path must be well formed, use ZFPathFormat if necessary

◆ ZFInputForResRaw()

ZFInput ZFInputForResRaw ( const zfstring & resFilePath)
inline

util to create a resource file input callback, see ZFResOpen for what resource file is

param:

  • (const zfstring &)resFilePath: resource file path to use

auto open and auto close files, may return a null callback if open file error