Class FSItem

Synopsis

#include <include/fsitem.hpp>

class FSItem

Description

No description yet.

Methods

FSItem OverloadNOTES: 1) mPath contains the path to the file, including the filename
attributes
creationTime
inArchivePathNOTE: inArchivePath() returns the path that should be used inside the archive when compressing the item, i.e
isDir
isDots
lastAccessTime
lastWriteTime
name
path
size

Source

Lines 33-64 in include/fsitem.hpp.

class FSItem {
    public:
        explicit FSItem( const wstring& path, const wstring& inArchivePath = L"" );
        explicit FSItem( const wstring& dir, FSItemInfo data, const wstring& searchPath );
        bool isDots() const;
        bool isDir() const;
        uint64_t size() const;
        FILETIME creationTime() const;
        FILETIME lastAccessTime() const;
        FILETIME lastWriteTime() const;
        wstring name() const;
        wstring path() const;
        wstring inArchivePath() const;
        uint32_t attributes() const;
    private:
        wstring mPath;
        FSItemInfo mFileData;
        wstring mSearchPath;
        wstring mInArchivePath;
};





Add Discussion as Guest

Log in