libcwdversion 2.0.0
The C++ Debugging Support Library
Loading...
Searching...
No Matches

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

#include <libcwd/debug.h>

Public Member Functions

 RcFile ()
 Construct a rcfile object.
void read ()
 Initialize this object by reading the rcfile.
std::string const & konsole_command () const
 Returns the command line string as set with the 'xterm' keyword.
std::string const & gdb_bin () const
 Returns the command line string as set with the 'gdb_bin' keyword.
bool read_called () 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

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

Member Function Documentation

◆ unknown_keyword()

virtual bool libcwd::RcFile::unknown_keyword ( std::string const & keyword,
std::string const & value )
protectedvirtual

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.


The documentation for this class was generated from the following file: