#include <directives.h>
Public Member Functions | |
Rule (int type, std::string const &value) | |
Constructor. | |
Rule (Rule const &r) | |
Copy constructor. | |
Rule & | operator= (Rule const &right) |
Assignment operator. | |
int | type () const |
Returns the rule type. | |
std::string const & | value () const |
Returns the rule value. | |
Protected Attributes | |
int | m_type |
The rule type. | |
std::string | m_value |
The rule value. |
conf::ConfRules::Rule::Rule | ( | int | type, | |
std::string const & | value | |||
) | [inline] |
Initializes a Rule object.
[in] | type | The type of the rule (caller-defined). |
[in] | value | The value of the rule (caller-defined). |