NRE Software
(toggle)
Home
My work
Main Page
Namespaces
Classes
Files
File List
src
IO
File
NREB_File.hpp
Go to the documentation of this file.
1
10
#include "../NREB_Entry.hpp"
11
12
#pragma once
13
18
namespace
NREB
{
23
namespace
IO
{
24
29
class
File
:
public
Entry
{
30
private
:
// Fields
31
32
public
:
// Methods
33
//## Constructor ##//
39
File
(std::string
const
& n,
Entry
* p =
nullptr
);
40
41
//## Deconstructor ##//
45
~File
() =
default
;
46
47
//## Methods ##//
51
bool
isFile
()
const override
;
55
bool
isFolder
()
const override
;
59
std::string
getObjectName
()
const
;
63
std::string
getObjectPath
()
const
;
64
};
65
}
66
}
NREB::IO::File::isFolder
bool isFolder() const override
Definition:
NREB_File.cpp:22
IO
Builder's IO module.
NREB::IO::Entry
Represent a system entry.
Definition:
NREB_Entry.hpp:32
NREB
The NRE-Builder global namespace.
Definition:
NREB_Config.cpp:12
NREB::IO::File::getObjectPath
std::string getObjectPath() const
Definition:
NREB_File.cpp:42
NREB::IO::File
Represent a file entry.
Definition:
NREB_File.hpp:29
NREB::IO::File::isFile
bool isFile() const override
Definition:
NREB_File.cpp:18
NREB::IO::File::getObjectName
std::string getObjectName() const
Definition:
NREB_File.cpp:26
NREB::IO::File::~File
~File()=default
NREB::IO::File::File
File(std::string const &n, Entry *p=nullptr)
Definition:
NREB_File.cpp:15