|
void | init_comm_options () |
| Initializes Comm-layer options. More...
|
|
void | init_comm () |
| This method initializes the Comm-layer. More...
|
|
void | init_generic_server_options () |
| Initializes generic server options. More...
|
|
void | init_generic_server () |
| Initializes generic server by writing the pidfile. More...
|
|
static int | terminal_line_length () |
|
static String | usage_str (const char *usage) |
|
Desc & | cmdline_desc (const char *usage=nullptr) |
| A macro which definds global functions like get_bool(), get_str(), get_i16() etc. More...
|
|
Desc & | cmdline_hidden_desc () |
| Get the command line hidden options description (for positional options) More...
|
|
PositionalDesc & | cmdline_positional_desc () |
| Get the command line positional options description. More...
|
|
void | cmdline_desc (const Desc &desc) |
| Set the command line options description. More...
|
|
Desc & | file_desc (const char *usage=NULL) |
| Get the config file options description. More...
|
|
void | file_desc (const Desc &desc) |
| Set the config file options description. More...
|
|
void | parse_args (int argc, char *argv[]) |
| Initialization helper; parses the argc/argv parameters into properties, reads the configuration file, handles "help" and "help-config" parameters. More...
|
|
void | parse_file (const String &fname, const Desc &desc) |
| Parses a configuration file and stores all configuration options into the option descriptor. More...
|
|
void | alias (const String &cmdline_opt, const String &file_opt, bool overwrite=false) |
| Setup command line option alias for config file option. More...
|
|
void | sync_aliases () |
| Sync alias values. More...
|
|
bool | allow_unregistered_options (bool choice) |
| Toggle allow unregistered options. More...
|
|
bool | allow_unregistered_options () |
| Returns true if unregistered options are allowed. More...
|
|
void | cleanup () |
| Free all resources used. More...
|
|
bool | has (const String &name) |
| Check existence of a configuration value. More...
|
|
bool | defaulted (const String &name) |
| Check if a configuration value is defaulted. More...
|
|
template<typename T > |
T | get (const String &name) |
| Retrieves a configuration value. More...
|
|
template<typename T > |
T | get (const String &name, const T &default_value) |
| Retrieves a configuration value (or a default value, if the value was not set) More...
|
|
template<class PolicyT > |
void | init_with_policy (int argc, char *argv[], const Desc *desc=0) |
| Init with policy (with init_options (called before parse_args) and init (called after parse_args) methods. More...
|
|
template<class PolicyListT > |
void | init_with_policies (int argc, char *argv[], const Desc *desc=0) |
| Convenience function (more of a demo) to init with a list of polices. More...
|
|
void | init (int argc, char *argv[], const Desc *desc=NULL) |
| Initialize with default policy. More...
|
|
void | init_fs_client_options () |
|
void | init_fs_client () |
|
void | init_fs_broker_options () |
|
void | init_hyperspace_client_options () |
|
void | init_hyperspace_client () |
|
void | init_hyperspace_command_shell_options () |
|
void | init_hyperspace_master_options () |
|
void | init_master_client_options () |
|
void | init_master_client () |
|
void | init_range_server_client_options () |
|
void | init_range_server_client () |
|
void | init_range_server_options () |
|
void | init_range_server () |
|
void | init_thrift_client_options () |
|
void | init_thrift_client () |
|
void | init_thrift_broker_options () |
|
void | init_thrift_broker () |
|
static void | thrift_output_handler (const char *message) |
|
void | redirect_thrift_output () |
|