libcwd: The C++ Debugging Support Library - Reference Manual
Author: Carlo Wood
Description: C++ debugging support library with ostream debug output
Keywords: libcwd, debug output, debug facility, debug channel, object orientation, OO, C++, nested debug output, ostream, memory allocation, debugging, source file and line number

Main Page Reference Manual Namespace List Compound List Namespace Members Compound Members File Members

# libcwd::rcfile_ct Class Reference
[Runtime Configuration File (rcfile)]

This object represents a runtime configuration file. More...

`#include <libcwd/debug.h>`

List of all members.

## Public Member Functions
| rcfile_ct ()
| Construct a rcfile object.
void | read (void)
| 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.

## Detailed Description

This object represents a runtime configuration file.

Libcwd contains one object of this type, `libcwd::rcfile`. This is the object that is used by `read_rcfile()` .

## Member Function Documentation

virtual bool libcwd::rcfile_ct::unknown_keyword | ( | std::string const & | keyword,
|  | std::string const & | value |
| ) |  |  | `[protected, virtual]`

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 `true`.