#include <directives.h>

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. | |
| conf::ConfRules::ConfRule::ConfRule | ( | std::string const & | name, | |
| bool | reloadable, | |||
| ConfRules::container_type & | container, | |||
| int | type | |||
| ) | [inline] |
Constructor.
| [in] | name | The directive name. |
| [in] | reloadable | Determines whether the directive is reloadable or not. |
| [in] | container | The container to which new rules are added by this directive (must be valid until the directive is destroyed). |
| [in] | type | The type of rule this directive creates. |
| virtual bool conf::ConfRules::ConfRule::check | ( | std::string const & | value | ) | const [inline, protected, virtual] |
1.5.3