Container for the variable blocks of a rule. More...
#include <RuleVariables.h>
Public Types | |
| typedef RuleVariablesConstIterator | const_iterator |
Public Member Functions | |
| void | set_variable (const std::string &var) |
| void | add_value (const std::string &value) |
| Add a new value for the current variable. | |
| void | add_values (const std::vector< std::string > &values) |
| Add the values in values for the current variable. | |
| void | set_matcher (Matcher matcher) |
| Set the matcher for the current block and start a new block. | |
| const_iterator | begin (void) const |
| Const iterator to the beginning. | |
| const_iterator | end (void) const |
| Const iterator to the end. | |
| void | clear (void) |
| Disacrd all defined blocks. | |
Protected Attributes | |
| FreelyVariableBlockContainer | freely_blocks |
| MatchedVariableBlockContainer | matched_blocks |
| MixedVariableBlockContainer | mixed_blocks |
| VariableValuesVector | current_variable_block |
Friends | |
| class | RuleVariablesConstIterator |
Container for the variable blocks of a rule.
Definition at line 27 of file RuleVariables.h.
| void RuleVariables::add_value | ( | const std::string & | value | ) |
Add a new value for the current variable.
Definition at line 27 of file RuleVariables.cc.
| void RuleVariables::add_values | ( | const std::vector< std::string > & | values | ) |
Add the values in values for the current variable.
Definition at line 34 of file RuleVariables.cc.
1.6.3