Represent a file entry.
More...
#include <NREB_File.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" |
|
NREB::IO::File::File |
( |
std::string const & |
n, |
|
|
Entry * |
p = nullptr |
|
) |
| |
Construct an entry
- Parameters
-
n | the entry's name |
p | the entry's parent |
NREB::IO::File::~File |
( |
| ) |
|
|
default |
std::string NREB::IO::File::getObjectName |
( |
| ) |
const |
- Returns
- the object's file name
std::string NREB::IO::File::getObjectPath |
( |
| ) |
const |
- Returns
- the object's file path
bool NREB::IO::File::isFile |
( |
| ) |
const |
|
overridevirtual |
bool NREB::IO::File::isFolder |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- /mnt/c/Users/abell/Documents/GitHub/NRE-Builder/src/IO/File/NREB_File.hpp
- /mnt/c/Users/abell/Documents/GitHub/NRE-Builder/src/IO/File/NREB_File.cpp