45 bool Eof() {
return CurFPos==FLen && BfC==
BfL; }
46 int Len()
const {
return int(FLen-CurFPos+BfL-BfC); }
98 int PutCh(
const char& Ch);
static TStrStrH FExtToCmdH
static TStr GetCmd(const TStr &ZipFNm)
Return a command-line string that is executed in order to decompress a file to standard output...
static TStr GetCmd(const TStr &ZipFNm)
Return a command-line string that is executed in order to decompress a file to standard output...
static PSOut New(const TStr &FNm, const bool &Append=false)
static void FillFExtToCmdH()
int PutCh(const char &Ch)
static bool IsZipFNm(const TStr &FNm)
Check whether the file extension of FNm is that of a compressed file (.gz, .7z, .rar, .zip, .cab, .arj. bzip2).
bool GetNextLnBf(TChA &LnChA)
static PSIn New(const TStr &FNm)
static PSIn New(const TStr &FNm)
static PSIn NewIfZip(const TStr &FNm)
unsigned long long uint64
TZipIn & operator=(const TZipIn &)
static TStrStrH FExtToCmdH
static bool IsZipExt(const TStr &FNmExt)
Check whether the file extension FNmExt is that of a compressed file (.gz, .7z, .rar, .zip, .cab, .arj. bzip2).
static void FillFExtToCmdH()
static PSOut NewIfZip(const TStr &FNm)
int PutBf(const void *LBf, const TSize &LBfL)
static PSOut New(const TStr &FNm)
static bool IsZipExt(const TStr &FNmExt)
Check whether the file extension FNmExt is that of a compressed file (.gz, .7z, .rar, .zip, .cab, .arj. bzip2).
void CreateZipProcess(const TStr &Cmd, const TStr &ZipFNm)
uint64 GetCurFPos() const
int GetBf(const void *LBf, const TSize &LBfL)
static bool IsZipFNm(const TStr &FNm)
Check whether the file extension of FNm is that of a compressed file (.gz, .7z, .rar, .zip, .cab, .arj. bzip2).
void CreateZipProcess(const TStr &Cmd, const TStr &ZipFNm)
TZipOut & operator=(const TZipOut &)