#include <directives.h>

Public Member Functions | |
| ConfElse (std::string const &name) | |
| Constructor setting the name of the directive. | |
| ConfElse (ConfElse const &cd) | |
| Copy constructor. | |
| virtual ConfElse & | operator= (ConfElse const &cd) |
| Assignment operator. | |
| bool | can_process () const |
| Determines whether to process params[0] next time. | |
| bool | can_process (bool process) |
| Sets whether to process params[0] next time. | |
| virtual bool | set (Conf &conf, unsigned short count, std::string const params[]) |
| Executes params[0] if (can_process() == true). | |
ConfIf directives (and derived) must call the can_process() member function of the ConfElse object (obtained through conf.global().else_directive()
| bool conf::ConfElse::can_process | ( | ) | const [inline] |
Determines whether to process params[0] next time the directive is used.
| bool conf::ConfElse::can_process | ( | bool | process | ) | [inline] |
Sets whether to process params[0] next time the directive is used.
| process | Set this to true to process params[0] next time, false otherwise. |
1.5.3