This object represents a runtime configuration file. More...
Public Member Functions
|Construct a rcfile object. |
|Initialize this object by reading the rcfile. |
|std::string const &||konsole_command (void) const|
|Returns the command line string as set with the 'xterm' keyword. |
|std::string const &||gdb_bin (void) const|
|Returns the command line string as set with the 'gdb_bin' keyword. |
|bool||read_called (void) const|
|Returns true when this object is initialized. |
Protected Member Functions
|virtual bool||unknown_keyword (std::string const &keyword, std::string const &value)|
|Virtual function called for unknown keywords. |
This object represents a runtime configuration file.
Libcwd contains one object of this type,
libcwd::rcfile. This is the object that is used by
|virtual bool libcwd::rcfile_ct::unknown_keyword||(||std::string const &||keyword,|
|std::string const &||value|
Virtual function called for unknown keywords.
By using this class as a base and overriding this function it is possible to extend the keywords that are recognized.
This function should return
true when the keyword is not handled. The default behaviour is to always return