library/param/configurator.hh

namespace scarab

The standard scarab namespace.

class configurator
#include <configurator.hh>

Public Functions

configurator(int an_argc, char **an_argv, scarab::param_node *a_default = NULL)
~configurator()
const std::string &exe_name() const
scarab::param_node &config()
const scarab::param_node &config() const
bool help_flag() const
bool version_flag() const
template <typename XReturnType>
XReturnType get(const std::string &a_name) const
template <typename XReturnType>
XReturnType get(const std::string &a_name, XReturnType a_default) const

Private Members

std::string f_exe_name
scarab::param_node *f_master_config
bool f_help_flag
bool f_version_flag
scarab::param *f_param_buffer
std::string f_string_buffer