OpendTect  6.6
Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
Table::RecordMatcher Class Reference

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

Inheritance diagram for Table::RecordMatcher:
[legend]

Public Member Functions

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

Public Attributes

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

Static Protected Attributes

static const GlobExpr emptyge_
 

Detailed Description

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

<>

Constructor & Destructor Documentation

◆ RecordMatcher()

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

Member Function Documentation

◆ accept()

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

if false returned, the row should not be written

Implements Table::Converter::RowManipulator.

Member Data Documentation

◆ any_

bool Table::RecordMatcher::any_

If false, all need to match.

◆ ckcols_

TypeSet<int> Table::RecordMatcher::ckcols_

Column numbers (mand)

◆ colvals_

TypeSet<GlobExpr> Table::RecordMatcher::colvals_

Values associated (opt) Not filled means check for empty

◆ emptyge_

const GlobExpr Table::RecordMatcher::emptyge_
staticprotected

◆ not_

bool Table::RecordMatcher::not_

If true, matches will not pass.


Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022