Public Member Functions | Public Attributes | Static Protected Attributes

Table::RecordMatcher Class Reference

Only passes records where col(s) (don't) match expression(s). More...

Inheritance diagram for Table::RecordMatcher:
Table::Converter::RowManipulator

List of all members.

Public Member Functions

 RecordMatcher (bool a=true)
bool accept (BufferStringSet &) const
 if false returned, the row should not be written

Public Attributes

bool any_
 If false, all need to match.
bool not_
 If true, matches will not pass.
TypeSet< int > ckcols_
 Column numbers (mand).
TypeSet< GlobExprcolvals_

Static Protected Attributes

static const GlobExpr emptyge_

Detailed Description

Only passes records where col(s) (don't) match expression(s).


Constructor & Destructor Documentation

Table::RecordMatcher::RecordMatcher ( bool  a = true  )  [inline]

Member Function Documentation

bool Table::RecordMatcher::accept ( BufferStringSet  )  const [virtual]

if false returned, the row should not be written

Implements Table::Converter::RowManipulator.


Member Data Documentation

If false, all need to match.

Column numbers (mand).

Values associated (opt) Not filled means check for empty

const GlobExpr Table::RecordMatcher::emptyge_ [static, protected]

If true, matches will not pass.