abstract IO More...
#include "ZFIODef.h"
Go to the source code of this file.
Functions | |
const zfstring & | ZFPathType_modulePath () |
see ZFPathInfo | |
const zfstring & | ZFPathType_settingPath () |
see ZFPathInfo | |
const zfstring & | ZFPathType_storagePath () |
see ZFPathInfo | |
const zfstring & | ZFPathType_storageSharedPath () |
see ZFPathInfo | |
const zfstring & | ZFPathType_cachePath () |
see ZFPathInfo | |
const zfstring & | ZFPathType_text () |
see ZFPathInfo | |
const zfstring & | ZFPathType_bin () |
see ZFPathInfo | |
zfautoT< ZFIOToken > | ZFIOOpenCache (const ZFPathInfo &pathInfo=(zft_zfnull), ZFIOOpenOptionFlags flags=(v_ZFIOOpenOption::e_Read|v_ZFIOOpenOption::e_Write), zfbool autoRemove=(_ZFT_t_zftrue)) |
util to open cache file under ZFPathType_cachePath | |
ZFPathInfo | ZFIO_cachePathGen () |
generate a cache pathInfo, which ensured not same for each call | |
abstract IO
|
extern |
see ZFPathInfo
pathData is file's relative path within ZFPathForModule
|
extern |
see ZFPathInfo
pathData is file's relative path within ZFPathForSetting
|
extern |
see ZFPathInfo
pathData is file's relative path within ZFPathForStorage
|
extern |
see ZFPathInfo
pathData is file's relative path within ZFPathForStorageShared
|
extern |
see ZFPathInfo
pathData is file's relative path within ZFPathForCache
note, the cache path's content would be removed according to ZFPathForCacheClear
|
extern |
see ZFPathInfo
pathData is unmodified plain text (or buffer), may contain non printable chars, use ZFPathType_bin type if necessary
|
extern |
see ZFPathInfo
pathData is binary data encoded with ZFCoreDataEncode with default char map
use ZFPathType_text for plain text
|
extern |
util to open cache file under ZFPathType_cachePath
if autoRemove is true (by default), the cache file would be removed when closed