Represent a system entry.
More...
#include <NREB_Entry.hpp>
|
static const std::string | MARKER_HEADER = ".hpp" |
|
static const std::string | MARKER_COMPILER = "CXX" |
|
static const std::string | MARKER_LINKER = "LD" |
|
static const std::string | MARKER_CFLAGS = "CFLAGS" |
|
static const std::string | MARKER_LDFLAGS = "LDFLAGS" |
|
static const std::string | MARKER_INC = "INC" |
|
static const std::string | MARKER_BIN = "BIN" |
|
static const std::string | MARKER_LIB = "LIB" |
|
static const std::string | MARKER_LIBDIR = "LIBDIR" |
|
static const std::string | MARKER_CHILDS = "childs" |
|
static const std::string | MARKER_OUT = "out" |
|
static const std::string | MARKER_TARGET = "all" |
|
static const std::string | MARKER_OBJ = "OBJ" |
|
static const std::string | MARKER_SOURCE = ".cpp" |
|
static const std::string | MARKER_SOURCE_C = ".c" |
|
static const std::string | MARKER_HEADER_C = ".h" |
|
static const std::string | MARKER_O = ".o" |
|
static const std::string | MARKER_OBJDIR = "OBJDIR" |
|
static const std::string | START_CALL = "$(" |
|
static const std::string | END_CALL = ")" |
|
static const std::string | CALL_COMPILER = START_CALL + MARKER_COMPILER + END_CALL |
|
static const std::string | CALL_CFLAGS = START_CALL + MARKER_CFLAGS + END_CALL |
|
static const std::string | CALL_INC = START_CALL + MARKER_INC + END_CALL |
|
static const std::string | CALL_OBJDIR = START_CALL + MARKER_OBJDIR + END_CALL |
|
static const std::string | CALL_OBJ = START_CALL + MARKER_OBJ + END_CALL |
|
static const std::string | MAKEFILE = "Makefile" |
|
static const std::string | ARCHIVER = "archive.sh" |
|
Represent a system entry.
NREB::IO::Entry::Entry |
( |
std::string const & |
n, |
|
|
Entry * |
p = nullptr |
|
) |
| |
Construct an entry
- Parameters
-
n | the entry's name |
p | the entry's parent |
virtual NREB::IO::Entry::~Entry |
( |
| ) |
|
|
virtualdefault |
std::string const & NREB::IO::Entry::getName |
( |
| ) |
const |
const Entry * NREB::IO::Entry::getParent |
( |
| ) |
const |
- Returns
- the entry's parent
std::string NREB::IO::Entry::getPath |
( |
| ) |
const |
Get the entry's path
- Returns
- the computed path
virtual bool NREB::IO::Entry::isFile |
( |
| ) |
const |
|
pure virtual |
virtual bool NREB::IO::Entry::isFolder |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files:
- /mnt/c/Users/abell/Documents/GitHub/NRE-Builder/src/IO/NREB_Entry.hpp
- /mnt/c/Users/abell/Documents/GitHub/NRE-Builder/src/IO/NREB_Entry.cpp