d2d5fb6654
This reverts commit 2a9ff72426
.
19 lines
274 B
C++
19 lines
274 B
C++
#pragma once
|
|
|
|
namespace filesystem
|
|
{
|
|
class file
|
|
{
|
|
public:
|
|
file(std::string name);
|
|
|
|
bool exists() const;
|
|
const std::string& get_buffer() const;
|
|
const std::string& get_name() const;
|
|
|
|
private:
|
|
bool valid_ = false;
|
|
std::string name_;
|
|
std::string buffer_;
|
|
};
|
|
} |