cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
Environment.cpp File Reference
#include <cstdlib>
#include "CepGen/Utils/Collections.h"
#include "CepGen/Utils/Filesystem.h"
#include "CepGen/Utils/String.h"
+ Include dependency graph for Environment.cpp:

Go to the source code of this file.

Namespaces

namespace  cepgen
 Common namespace for this Monte Carlo generator.
 
namespace  cepgen::utils
 Collection of utilities.
 
namespace  cepgen::utils::env
 All environment variable-related utilities.
 

Functions

std::string get (const std::string &var, const std::string &def="")
 Get an environment variable.
 
std::vector< std::string > searchPaths ()
 Retrieve a list of all search paths for external files.
 
void set (const std::string &var, const std::string &value)
 Set an environment variable.
 
void append (const std::string &var, const std::string &value)
 Add a value to an environment variable.
 
void unset (const std::string &var)
 Clear an environment variable.
 

Variables

static constexpr char PATH_DELIM = ':'