cppfs  1.2.0.5b71c2c98fb9
Cross-platform C++ file system library supporting multiple backends (Local-FS, SSH)
Public Member Functions | List of all members
cppfs::AbstractFileSystem Class Referenceabstract

Interface for accessing file systems. More...

#include <cppfs/include/cppfs/AbstractFileSystem.h>

Inheritance diagram for cppfs::AbstractFileSystem:
Inheritance graph
[legend]

Public Member Functions

 AbstractFileSystem ()
 Constructor. More...
 
virtual ~AbstractFileSystem ()
 Destructor. More...
 
virtual FileHandle open (const std::string &path)=0
 Open file or directory in file system. More...
 
virtual FileHandle open (std::string &&path)=0
 Open file or directory in file system. More...
 

Detailed Description

Interface for accessing file systems.

Constructor & Destructor Documentation

cppfs::AbstractFileSystem::AbstractFileSystem ( )

Constructor.

virtual cppfs::AbstractFileSystem::~AbstractFileSystem ( )
virtual

Destructor.

Member Function Documentation

virtual FileHandle cppfs::AbstractFileSystem::open ( const std::string &  path)
pure virtual

Open file or directory in file system.

Parameters
[in]pathPath to file or directory

Implemented in cppfs::SshFileSystem, cppfs::LocalFileSystem, and cppfs::LocalFileSystem.

virtual FileHandle cppfs::AbstractFileSystem::open ( std::string &&  path)
pure virtual

Open file or directory in file system.

Parameters
[in]pathPath to file or directory

Implemented in cppfs::SshFileSystem, cppfs::LocalFileSystem, and cppfs::LocalFileSystem.


The documentation for this class was generated from the following file: