Sleeping Wombat Common Library
0.50.0
swCommonLibrary
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
System
File.h
Go to the documentation of this file.
1
#pragma once
2
8
#include "
swCommonLib/Common/TypesDefinitions.h
"
9
#include "Path.h"
10
11
#include <string>
12
13
14
namespace
filesystem
15
{
16
17
22
class
File
23
{
24
private
:
25
26
Path
m_filePath;
27
28
protected
:
29
public
:
30
explicit
File
(
const
Path
& path );
31
explicit
File
(
Path
&& path );
32
~
File
() =
default
;
33
34
bool
Exists ()
const
;
35
Size FileSize ()
const
;
36
37
bool
Remove ();
38
bool
Move (
const
Path
& newPath );
39
bool
Copy (
const
Path
& newPath );
40
41
42
public
:
43
44
static
std::string Load (
const
Path
& newPath );
45
};
46
47
}
// filesystem
48
filesystem::Path
Definition:
Path.h:26
filesystem::File
File abstraction layer.
Definition:
File.h:22
TypesDefinitions.h
Plik zawiera definicje podstawowych typów zmiennych.
filesystem
Definition:
Dir.cpp:12
Generated on Thu May 31 2018 19:56:00 for Sleeping Wombat Common Library by
1.8.9.1