carl  24.04
Computer ARithmetic Library
SettingsParser.h File Reference
#include "settings_utils.h"
#include <boost/program_options.hpp>
#include <chrono>
#include <vector>
Include dependency graph for SettingsParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  carl::settings::OptionPrinter
 Helper class to nicely print the options that are available. More...
 
struct  carl::settings::SettingsPrinter
 Helper class to nicely print the settings that were parsed. More...
 
class  carl::settings::SettingsParser
 Base class for a settings parser. More...
 

Namespaces

 carl
 carl is the main namespace for the library.
 
 carl::settings
 

Functions

template<typename T >
void carl::settings::default_to (po::variables_map &values, const std::string &name, const T &value)
 Inserts value into variables_map if it is not yet set. More...
 
template<typename T >
void carl::settings::overwrite_to (po::variables_map &values, const std::string &name, const T &value)
 Inserts or overwrites value into variables_map. More...
 
std::ostream & carl::settings::operator<< (std::ostream &os, OptionPrinter op)
 Streaming operator for a option printer. More...
 
std::ostream & carl::settings::operator<< (std::ostream &os, SettingsPrinter sp)
 Streaming operator for a settings printer. More...