#include <compare.h>
Inheritance diagram for mysqlpp::MysqlCmp< BinaryPred, CmpType >:
Public Methods | |
MysqlCmp (uint i, const BinaryPred &f, const CmpType &c) | |
MysqlCmp constructor. | |
bool | operator() (const Row &cmp1) const |
Run the predicate function on this row and the object's data, and return its value. | |
Protected Attributes | |
unsigned int | index |
Index of field within Row object to compare against. | |
BinaryPred | func |
Predicate function to use for the comparison. | |
CmpType | cmp2 |
What to compare the Row's field against. |
|
MysqlCmp constructor.
|
|
Run the predicate function on this row and the object's data, and return its value. See the constructor's parameters for what we compare against. Reimplemented in mysqlpp::MysqlCmpCStr< BinaryPred >. |