Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Member Functions | Static 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)
 
bool Exists () const
 
Size FileSize () const
 
bool Remove ()
 
bool Move (const Path &newPath)
 
bool Copy (const Path &newPath)
 

Static Public Member Functions

static std::string Load (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.


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