Represent the analyser configuration. More...

#include <NREB_Config.hpp>

Public Member Functions

 Config ()=delete
 
 Config (Config const &c)=delete
 
 Config (Config &&c)=delete
 
 ~Config ()=default
 
std::string const & getCompiler () const
 
std::string const & getLinker () const
 
std::string const & getArchiver () const
 
std::string const & getCFlags () const
 
std::string const & getLdFlags () const
 
std::string const & getOut () const
 
std::vector< std::string > const & getIncludes () const
 
std::vector< std::string > const & getLibs () const
 
std::vector< std::string > const & getLibDirs () const
 
std::vector< std::string > const & getExcluded () const
 
Configoperator= (Config const &c)=delete
 
Configoperator= (Config &&c)=delete
 

Static Public Member Functions

static void setConfigPath (std::string const &configPath)
 
static Config const & getConfig ()
 

Static Public Attributes

static const std::string TAG_COMPILER = "compiler="
 
static const std::string TAG_LINKER = "linker="
 
static const std::string TAG_ARCHIVER = "archiver="
 
static const std::string TAG_CFLAGS = "cflags="
 
static const std::string TAG_LDFLAGS = "ldflags="
 
static const std::string TAG_INC = "includes="
 
static const std::string TAG_LIB = "lib="
 
static const std::string TAG_LIBDIR = "libdir="
 
static const std::string TAG_OUT = "out="
 
static const std::string TAG_EXCLUDED = "excluded="
 

Detailed Description

Represent the analyser configuration.

Constructor & Destructor Documentation

NREB::Config::Config::Config ( )
delete

No default constructor

NREB::Config::Config::Config ( Config const &  c)
delete

Copy forbidden

Parameters
cthe configuration to copy
NREB::Config::Config::Config ( Config &&  c)
delete

Move forbidden

Parameters
cthe configuration to move
NREB::Config::Config::~Config ( )
default

Config Deconstructor

Member Function Documentation

std::string const & NREB::Config::Config::getArchiver ( ) const
Returns
the configuration archiver
std::string const & NREB::Config::Config::getCFlags ( ) const
Returns
the configuration cFlags
std::string const & NREB::Config::Config::getCompiler ( ) const
Returns
the configuration compiler
Config const & NREB::Config::Config::getConfig ( )
static
Returns
the configuration instance
std::vector< std::string > const & NREB::Config::Config::getExcluded ( ) const
Returns
the configuration excluded files
std::vector< std::string > const & NREB::Config::Config::getIncludes ( ) const
Returns
the configuration includes
std::string const & NREB::Config::Config::getLdFlags ( ) const
Returns
the configuration ldFlags
std::vector< std::string > const & NREB::Config::Config::getLibDirs ( ) const
Returns
the configuration lib directories
std::vector< std::string > const & NREB::Config::Config::getLibs ( ) const
Returns
the configuration libs
std::string const & NREB::Config::Config::getLinker ( ) const
Returns
the configuration linker
std::string const & NREB::Config::Config::getOut ( ) const
Returns
the configuration out
Config& NREB::Config::Config::operator= ( Config const &  c)
delete

Copy forbidden

Parameters
cthe object to copy into this
Returns
the reference of himself
Config& NREB::Config::Config::operator= ( Config &&  c)
delete

Move forbidden

Parameters
cthe object to move into this
Returns
the reference of himself
void NREB::Config::Config::setConfigPath ( std::string const &  configPath)
static

Set the configuration file path

Parameters
configPaththe configuration path

The documentation for this class was generated from the following files:
  • /mnt/c/Users/abell/Documents/GitHub/NRE-Builder/src/Config/NREB_Config.hpp
  • /mnt/c/Users/abell/Documents/GitHub/NRE-Builder/src/Config/NREB_Config.cpp