conf::DirectivesQ Class Reference

Base class for directives encapsulation. More...

#include <quick.h>

List of all members.

Public Member Functions

 DirectivesQ (ConfLogger &logger)
 Constructor.
 DirectivesQ (DirectivesQ const &d)
 Copy constructor.
DirectivesQoperator= (DirectivesQ const &right)
 Assignment operator.
virtual ~DirectivesQ ()
 Destructor.
virtual bool add (Conf &conf)=0
 Adds directives to the parser.
DConfQparser ()
 Returns the configuration parser.

Protected Attributes

DConfQ m_parser
 The configuration parser.

Classes

class  DConfQ
 Custom configuration parser class. More...


Detailed Description

This class can be used as a base class for directives encapsulation.

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.


Constructor & Destructor Documentation

conf::DirectivesQ::DirectivesQ ConfLogger logger  )  [inline]
 

Constructor.

Parameters:
[in] logger The configuration logger used to create the parser.


Member Function Documentation

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.

Parameters:
[in] conf The configuration parser.
Returns:
true if successful, false otherwise.


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