#include <quick.h>
Public Member Functions | |
DirectivesQ (ConfLogger &logger) | |
Constructor. | |
DirectivesQ (DirectivesQ const &d) | |
Copy constructor. | |
DirectivesQ & | operator= (DirectivesQ const &right) |
Assignment operator. | |
virtual | ~DirectivesQ () |
Destructor. | |
virtual bool | add (Conf &conf)=0 |
Adds directives to the parser. | |
DConfQ & | parser () |
Returns the configuration parser. | |
Protected Attributes | |
DConfQ | m_parser |
The configuration parser. | |
Classes | |
class | DConfQ |
Custom configuration parser class. More... |
It creates a configuration parser and allows derived classes to encapsulate directives seamlessly and add them to the parser as needed.
The add() function must be overridden in derived classes.
conf::DirectivesQ::DirectivesQ | ( | ConfLogger & | logger | ) | [inline] |
Constructor.
[in] | logger | The configuration logger used to create the parser. |
virtual bool conf::DirectivesQ::add | ( | Conf & | conf | ) | [pure virtual] |
This function must be overriden in derived classes to add directives to the given configuration parser.
[in] | conf | The configuration parser. |