warsvrdirlist.h

来自「ftpserver very good sample」· C头文件 代码 · 共 91 行

H
91
字号
/** */#ifndef WAR_SVR_DIRLIST_H#define WAR_SVR_DIRLIST_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_DIRLIST_H#   include "WarDirList.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */class WarSvrProtocol;#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarSvrDirList : public WarDirList{public:    // LIFECYCLE    WarSvrDirList(const war_uint32_t flags,        const WarSvrProtocol& currentServer,        bool doVerifyForList = true);    // OPERATORS    // OPERATIONS        void Create(war_ccstr_t dirPath)        throw (WarException);    void AddMountPoints(const WarSvrPath& SvrPath)        throw (WarException);    // ACCESS    inline const WarSvrPath& GetSvrPath() const    {        return mResolvedPath;    }    // INQUIRY    /** Return the visual path to the directory,     relative to the users CWD */    inline const war_svrpath_t& GetRelativePath() const    {        return mRelativePath;    }    protected:    const WarSvrProtocol& mrCurrentServer;    war_svrpath_t mRelativePath;    WarSvrPath mResolvedPath;    bool mDoVerifyForList;private:};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_SVR_DIRLIST_H_ */

⌨️ 快捷键说明

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