TableEvaluator Class Reference
An SQL-like table evaluator.
More...
#include <yateclass.h>
List of all members.
Detailed Description
An SQL-like table evaluator.
An evaluator for multi-row (tables like in SQL) expressions
Constructor & Destructor Documentation
Copy constructor, duplicates current state of original
- Parameters:
-
| original | Evaluator to copy |
Constructor from a parser synatx style
- Parameters:
-
| style | Style of evaluator to create |
Constructor from operator description table
- Parameters:
-
| operators | Pointer to operators synatx table |
Member Function Documentation
virtual bool evalWhere |
( |
|
) |
[virtual] |
Evaluate the WHERE (selector) expression
- Returns:
- True if the current row is part of selection
virtual bool evalSelect |
( |
ObjList & |
results |
) |
[virtual] |
Evaluate the SELECT (results) expression
- Parameters:
-
| results | List to fill with results row |
- Returns:
- True if evaluation succeeded
virtual unsigned int evalLimit |
( |
|
) |
[virtual] |
Evaluate the LIMIT expression and cache the result
- Returns:
- Desired maximum number or result rows
Set the expression extender to use in all evaluators
- Parameters:
-
| ext | Pointer to the extender to use, NULL to remove current |
The documentation for this class was generated from the following file: