stafzipcentraldir.h

来自「Software Testing Automation Framework (S」· C头文件 代码 · 共 54 行

H
54 行
字号
/*****************************************************************************//* Software Testing Automation Framework (STAF)                              *//* (C) Copyright IBM Corp. 2004                                              *//*                                                                           *//* This software is licensed under the Common Public License (CPL) V1.0.     *//*****************************************************************************/#ifndef STAF_ZIPCentralDir#define STAF_ZIPCentralDirclass STAFZipCentralDir{public:    // attributes    std::vector<STAFZipFileHeader*> fileHeaderList;    std::map<STAFString, STAFZipFileHeader*> fileHeaderListSorted;    STAFZipCentralDirEndRecord* cder;    // methods    STAFZipCentralDir();    STAFRC_t readInData(FILE*, uLong, uLong, STAFString*);    STAFRC_t flush(FILE*, STAFString*);    void addFileHeader(STAFZipLocalFileHeader*);    STAFRC_t list(STAFString*, STAFString*);    STAFZipFileHeader* find(const char*);    STAFZipFileHeader* findLastFileHeader();    STAFZipFileHeader* remove(const char*, STAFZipLocalFileHeader*);    unsigned short getNumberEntry();    uLong getSize();    STAFZipCentralDirEndRecord* getCentralDirEndRecord();    uLong getOffset();    ~STAFZipCentralDir();};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?