#include <quick.h>
Public Member Functions | |
| ConfGlobalQ (ConfLogger &logger) | |
| Constructor. | |
| virtual | ~ConfGlobalQ () |
| Destructor. | |
| virtual bool | setup () |
| Adds global directives, variables and include paths. | |
| Conf & | gconf () |
| Returns the Conf object managing global directives. | |
| ConfGlobal & | global () |
| Returns the ConfGlobal object managing variables and include paths. | |
| bool | is_setup () const |
| Has the setup() function been called? | |
Protected Attributes | |
| Conf | m_gconf |
| Add global directives to this object. | |
| ConfGlobal | m_global |
| Add variables and include paths to this object. | |
The setup() function must be called before using an object of this class.
| conf::ConfGlobalQ::ConfGlobalQ | ( | ConfLogger & | logger | ) | [inline] |
Constructs the ConfGlobalQ object.
| [in] | logger | Logger used to construct the Conf object used to store global directives. |
| virtual bool conf::ConfGlobalQ::setup | ( | ) | [inline, virtual] |
Override this function to add global directives to the m_conf object, along with variables and include paths to the m_global object.
This function must be called before using an object of this class.
1.5.3