44#ifndef COMMON_BASIC_SETUP_H
45#define COMMON_BASIC_SETUP_H
52#include <boost/program_options.hpp>
57#define LUMIERA_LOCATION_OF_BOOTSTRAP_INI "$ORIGIN/setup.ini"
65 namespace opt = boost::program_options;
100 return get (key).as<
string>();
103 opt::variable_value
const&
117 throw error::Logic (
"Key \""+key+
"\" not found in setup.ini");
Represents the elementary self-configuration of a running Lumiera application instance.
opt::variable_value const & get(lib::Literal key) const
string operator[](lib::Literal key) const
void __ensure_hasKey(string const &key) const
opt::options_description syntax
opt::variables_map settings
Any copy and copy construction prohibited.
Lumiera error handling (C++ interface).
LumieraError< LERR_(LOGIC)> Logic
Lumiera public interface.
bool contains(MAP &map, typename MAP::key_type const &key)
shortcut for containment test on a map
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Marker types to indicate a literal string and a Symbol.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...