#include <TheBESKeys.h>
Inheritance diagram for TheBESKeys:
Public Types | |
typedef map< string, string >::const_iterator | Keys_citer |
Public Member Functions | |
string | keys_file_name () |
string | set_key (const string &key, const string &val) |
allows the user to set key/value pairs from within the application. | |
string | set_key (const string &pair) |
allows the user to set key/value pairs from within the application. | |
string | get_key (const string &s, bool &found) |
Retrieve the value of a given key, if set. | |
void | show_keys () |
displays all key/value pairs defined to standard output. | |
Keys_citer | keys_begin () |
Keys_citer | keys_end () |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
Static Public Member Functions | |
static BESKeys * | TheKeys () |
Static Public Attributes | |
static string | ConfigFile = "" |
Protected Member Functions | |
TheBESKeys (const string &keys_file_name) |
|
|
|
|
|
dumps information about this object Displays the pointer value of this instance along with all of the keys.
Implements BESObj. |
|
Retrieve the value of a given key, if set. This method allows the user of BESKeys to retrieve the value of the specified key.
|
|
|
|
|
|
|
|
allows the user to set key/value pairs from within the application. This method allows users of BESKeys to set key/value pairs from within the application, such as for testing purposes, key/value pairs from the command line, etc... If the key is already set then this value replaces the value currently held in the keys map.
|
|
allows the user to set key/value pairs from within the application. This method allows users of BESKeys to set key/value pairs from within the application, such as for testing purposes, key/value pairs from the command line, etc... If the key is already set then this value replaces the value currently held in the keys map.
|
|
displays all key/value pairs defined to standard output. This method allows the user to see all of the key/value pairs that are currently defined. The output looks like:
key: "key", value: "value" |
|
|
|
|