LogFilterExpr.h

Classes

LogFilterExpr -- Class to deal with a TaQL expression to filter messages. (full description)

class LogFilterExpr : public TableExprData

Interface

Public Members
LogFilterExpr (const String& expr)
LogFilterExpr (const LogFilterExpr&)
virtual ~LogFilterExpr()
LogFilterExpr& operator= (const LogFilterExpr&)
Bool matches (const LogMessage& message)
virtual Double getDouble (const Block<Int>& fieldNrs) const
virtual String getString (const Block<Int>& fieldNrs) const
virtual DataType dataType (const Block<Int>& fieldNrs) const

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

This program tests the class TableExprData. This example shows how a data set consisting of two vectors of scalars can be used.

Member Description

LogFilterExpr (const String& expr)

Construct it from an expression which gets parsed.

LogFilterExpr (const LogFilterExpr&)

Copy constructor (copy semantics).

virtual ~LogFilterExpr()

LogFilterExpr& operator= (const LogFilterExpr&)

Assignment (copy semantics).

Bool matches (const LogMessage& message)

Does this message match the expression?

virtual Double getDouble (const Block<Int>& fieldNrs) const
virtual String getString (const Block<Int>& fieldNrs) const

Get the data.

virtual DataType dataType (const Block<Int>& fieldNrs) const

Get the data type of the various values.