Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Private Attributes | List of all members
filesystem::File Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

filesystem::File::File ( const Path path)
explicit
filesystem::File::File ( Path &&  path)
explicit
filesystem::File::~File ( )
default

Member Function Documentation

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 ( )

Member Data Documentation

Path filesystem::File::m_filePath
private

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