Sleeping Wombat GUI
0.100
swGUI
|
File abstraction layer. More...
#include <File.h>
Public Member Functions | |
File (const Path &path) | |
File (Path &&path) | |
~File ()=default | |
bool | Exists () const |
Size | FileSize () const |
bool | Remove () |
bool | Move (const Path &newPath) |
bool | Copy (const Path &newPath) |
Private Attributes | |
Path | m_filePath |
File abstraction layer.
Encapsulates experimental c++ features. Provides interface for operations on files. Maybe in future we can delete this class and use standard library.
|
explicit |
|
explicit |
|
default |
bool filesystem::File::Copy | ( | const Path & | newPath | ) |
bool filesystem::File::Exists | ( | ) | const |
Size filesystem::File::FileSize | ( | ) | const |
bool filesystem::File::Move | ( | const Path & | newPath | ) |
bool filesystem::File::Remove | ( | ) |
|
private |