#include <directives.h>
Inheritance diagram for conf::ConfRules::ConfRule:

Public Member Functions | |
| ConfRule (std::string const &name, bool reloadable, ConfRules::container_type &container, int type) | |
| Constructor. | |
| ConfRule (ConfRule const &cd) | |
| Copy constructor. | |
| virtual ConfRule & | operator= (ConfRule const &right) |
| Assignment operator. | |
| virtual bool | set (Conf &conf, unsigned short count, std::string const params[]) |
| Creates a new rule and adds it to the list. | |
| ConfRules::container_type * | container () const |
| Returns the container. | |
| ConfRules::container_type * | container (ConfRules::container_type &c) |
| Sets the container. | |
Protected Member Functions | |
| virtual bool | check (std::string const &value) const |
| Checks whether a value is correct. | |
Protected Attributes | |
| ConfRules::container_type * | m_container |
| The container to which new rules are added. | |
| int | m_type |
| The type of created rules. | |
|
||||||||||||||||||||
|
Constructor.
|
|
|
Checks whether a value is correct. This is called automatically by the set() function.
|
1.4.6