linux::CFileSystem


All platform-dependent classes have been moved to Platform Package in release 10.0.0.

This class is available on Linux platform only

Corresponding class for Windows platform is here.

Corresponding class for Android platform is here.

Implementation of the IFileSystem interface for Linux platform.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class CFileSystem :public virtual IFileSystem
    {
    public:
        bool SearchFiles(const String &filter, SearchFilesResult &result) override;
        bool FileExists(const String &filename) override;
        bool DirectoryExists(const String &path) override;
        SearchDrivesResult SearchDrives() override; // Returns [L"/"] always 
        IFile *FileOpen(const String &filename, const OPEN_MODE open_mode, const bool read, const bool write,
                // Following remaining parameters are not supported 
                const bool share_delete = false, const bool share_read = false, const bool share_write = false, const bool archieved = false, const bool encrypted = false,
                const bool hidden = false, const bool offline = false, const bool readonly = false, const bool system = false, const bool temporary = false, const bool delete_on_close = false,
                const bool no_buffering = false, const bool random_access = false) override;
        bool FileCopy(const String &filename, const String &new_filename,
                const bool overwrite_existing) override; // This parameter is not supported 
        bool FileMove(const String &filename, const String &new_filename,
                const bool overwrite_existing) override; // This parameter is not supported 
        bool FileDelete(const String &filename) override;
        bool DirectoryCreate(const String &path) override;
        bool DirectoryMove(const String &path, const String &new_path,
                const bool overwrite_existing) override; // This parameter is not supported 
        bool DirectoryDelete(const String &path) override;
    };
Namespace: nitisa::standard::linux
Include: Standard/Platform/Linux/FileSystem.h