modules::ConfModule Class Reference

Class implementing the module configuration directive.

#include <conf.h>

Inheritance diagram for modules::ConfModule:

conf::ConfBlock conf::ConfDir List of all members.

Public Member Functions

 ConfModule (std::string const &name, bool reloadable=true)

Public Attributes

conf::ConfString mname
conf::ConfString config

Protected Member Functions

virtual bool add (conf::Conf &conf, conf::Conf &new_conf)
 Adds directives to a Conf object.

Member Function Documentation

virtual bool modules::ConfModule::add conf::Conf conf,
conf::Conf new_conf
[protected, virtual]
 

This function must be overriden in derived classes to add directives to the given Conf object.

Parameters:
conf The Conf object that called the ConfBlock::begin() function. DO NOT add directives to this object! ;)
new_conf The Conf object to which you must add the directives.
Returns:
true if initialization went well. Else it returns false and an error message should have been logged through conf.error().

Implements conf::ConfBlock.


The documentation for this class was generated from the following file:
Generated on Sun May 20 21:32:21 2007 for Epona API by  doxygen 1.4.6