#include "Common/Mutex.h"#include "Common/Logger.h"#include "Common/Meta.h"#include "Common/Properties.h"

Go to the source code of this file.
Classes | |
| struct | Hypertable::Config::Policy |
| Interface and base of config policy. More... | |
| struct | Hypertable::Config::DefaultPolicy |
| Default init policy. More... | |
| struct | Hypertable::Config::Cons< CarT, CdrT > |
| Helpers to compose init policies. More... | |
| struct | Hypertable::Config::NullPolicy |
| struct | Hypertable::Config::Cons< NullPolicy, PolicyT > |
| struct | Hypertable::Config::Join< PolicyListT > |
Namespaces | |
| namespace | Hypertable |
Copyright (C) 2009 Doug Judd (Zvents, Inc.) | |
| namespace | Hypertable::Config |
Typedefs | |
| typedef PropertiesDesc | Hypertable::Config::Desc |
Functions | |
| bool | Hypertable::Config::has (const String &name) |
| check existence of config value | |
| bool | Hypertable::Config::defaulted (const String &name) |
| Check if a config value is defaulted. | |
| template<typename T > | |
| T | Hypertable::Config::get (const String &name) |
| get config value | |
| template<typename T > | |
| T | Hypertable::Config::get (const String &name, const T &default_value) |
| get config value with default | |
| Desc & | Hypertable::Config::cmdline_desc (const char *usage=NULL) |
| Get the command line options description. | |
| void | Hypertable::Config::cmdline_desc (const Desc &) |
| Set the command line options description. | |
| Desc & | Hypertable::Config::cmdline_hidden_desc () |
| Get the command line hidden options description (for positional options) | |
| PositionalDesc & | Hypertable::Config::cmdline_positional_desc () |
| Get the command line positional options description. | |
| Desc & | Hypertable::Config::file_desc (const char *usage=NULL) |
| Get the config file options description. | |
| void | Hypertable::Config::file_desc (const Desc &) |
| Set the config file options description. | |
| void | Hypertable::Config::parse_args (int argc, char *argv[]) |
| Init helper, has side effects (setting singletons etc.) unlike above. | |
| void | Hypertable::Config::parse_file (const String &fname, const Desc &desc) |
| Parse config file. | |
| void | Hypertable::Config::alias (const String &cmdline_opt, const String &file_opt, bool overwrite=false) |
| Setup command line option alias for config file option. | |
| void | Hypertable::Config::sync_aliases () |
| Sync alias values. | |
| bool | Hypertable::Config::allow_unregistered_options (bool choice) |
| Toggle allow unregistered options. | |
| bool | Hypertable::Config::allow_unregistered_options () |
| void | Hypertable::Config::cleanup () |
| Free all resources used. | |
1.7.2