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

compress util More...

#include "ZFAlgorithmDef.h"

Go to the source code of this file.

Classes

class  v_ZFCompressLevel
 compress level for ZFCompress More...
 
class  ZFCompress
 compress util More...
 
class  ZFDecompress
 see ZFCompress More...
 

Typedefs

typedef v_ZFCompressLevel::ZFEnumType ZFCompressLevel
 see v_ZFCompressLevel
 

Functions

ZFLIB_ZFAlgorithm zfbool ZFCompressLevelFromStringT (zfauto &ret, const zfchar *src, zfindex srcLen=((zfindex) -1), zfstring *errorHint=zft_zfnull)
 see v_ZFCompressLevel, return enum object if success
 
ZFLIB_ZFAlgorithm zfbool ZFCompressLevelToStringT (zfstring &ret, v_ZFCompressLevel *const &value, zfstring *errorHint=zft_zfnull)
 see ZFCompressLevel, return empty string if error
 
zfstring ZFCompressLevelToString (v_ZFCompressLevel *const &value, zfstring *errorHint=zft_zfnull)
 see v_ZFCompressLevel, return empty string if error
 
const zfstringZFTypeId_ZFCompressLevel (void)
 
ZFLIB_ZFAlgorithm zfbool ZFCompressLevelFromDataT (_ZFP_PropTypeW_ZFCompressLevel &v, const ZFSerializableData &serializableData, zfstring *outErrorHint=zft_zfnull, ZFSerializableData *outErrorPos=zft_zfnull)
 see ZFTYPEID_DECLARE
 
_ZFP_PropTypeW_ZFCompressLevel ZFCompressLevelFromData (const ZFSerializableData &serializableData, zfstring *outErrorHint=zft_zfnull, ZFSerializableData *outErrorPos=zft_zfnull)
 see ZFTYPEID_DECLARE
 
ZFLIB_ZFAlgorithm zfbool ZFCompressLevelToDataT (ZFSerializableData &serializableData, _ZFP_PropTypeW_ZFCompressLevel const &v, zfstring *outErrorHint=zft_zfnull)
 see ZFTYPEID_DECLARE
 
ZFSerializableData ZFCompressLevelToData (_ZFP_PropTypeW_ZFCompressLevel const &v, zfstring *outErrorHint=zft_zfnull)
 see ZFTYPEID_DECLARE
 
ZFLIB_ZFAlgorithm zfbool ZFCompressLevelFromStringT (_ZFP_PropTypeW_ZFCompressLevel &v, const zfchar *src, zfindex srcLen=((zfindex) -1), zfstring *errorHint=zft_zfnull)
 util method to convert ZFCompressLevel from string
 
_ZFP_PropTypeW_ZFCompressLevel ZFCompressLevelFromString (const zfchar *src, zfindex srcLen=((zfindex) -1), zfstring *errorHint=zft_zfnull)
 util method to convert ZFCompressLevel from string
 
ZFLIB_ZFAlgorithm zfbool ZFCompressLevelToStringT (zfstring &s, _ZFP_PropTypeW_ZFCompressLevel const &v, zfstring *errorHint=zft_zfnull)
 util method to convert ZFCompressLevel to string
 
zfstring ZFCompressLevelToString (_ZFP_PropTypeW_ZFCompressLevel const &v, zfstring *errorHint=zft_zfnull)
 util method to convert ZFCompressLevel to string
 
ZFLIB_ZFAlgorithm zfbool ZFCompressContent (const ZFOutput &outputZip, const ZFInput &inputRaw, const zfstring &filePathInZip=(zfstring::shared("content")), ZFCompressLevel compressLevel=(v_ZFCompressLevel::EnumDefault()))
 see ZFCompress
 
ZFLIB_ZFAlgorithm zfbool ZFDecompressContent (const ZFOutput &outputRaw, const ZFInput &inputZip, const zfstring &filePathInZip=(zfstring::shared("content")))
 see ZFCompress
 
ZFLIB_ZFAlgorithm zfbool ZFCompressDir (const ZFOutput &outputZip, const ZFPathInfo &inputPathInfo, const zfstring &filePathInZip=(zfstring::shared("content")), ZFCompressLevel compressLevel=(v_ZFCompressLevel::EnumDefault()))
 see ZFCompress
 
ZFLIB_ZFAlgorithm zfbool ZFDecompressDir (const ZFPathInfo &outputPathInfo, const ZFInput &inputZip)
 see ZFCompress
 

Detailed Description

compress util

Function Documentation

◆ ZFTypeId_ZFCompressLevel()

const zfstring & ZFTypeId_ZFCompressLevel ( void )
inline