casa
$Rev:20696$
|
Class to deal with a TaQL expression to filter messages. More...
#include <LogFilterExpr.h>
Public Member Functions | |
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 |
Get the data. | |
virtual String | getString (const Block< Int > &fieldNrs) const |
virtual DataType | dataType (const Block< Int > &fieldNrs) const |
Get the data type of the various values. | |
Private Attributes | |
TableExprNode * | itsExpr |
const LogMessage * | itsMessage |
Class to deal with a TaQL expression to filter messages.
This program tests the class TableExprData. This example shows how a data set consisting of two vectors of scalars can be used.
Definition at line 53 of file LogFilterExpr.h.
casa::LogFilterExpr::LogFilterExpr | ( | const String & | expr | ) |
Construct it from an expression which gets parsed.
casa::LogFilterExpr::LogFilterExpr | ( | const LogFilterExpr & | ) |
Copy constructor (copy semantics).
virtual casa::LogFilterExpr::~LogFilterExpr | ( | ) | [virtual] |
virtual DataType casa::LogFilterExpr::dataType | ( | const Block< Int > & | fieldNrs | ) | const [virtual] |
Get the data type of the various values.
Implements casa::TableExprData.
virtual Double casa::LogFilterExpr::getDouble | ( | const Block< Int > & | fieldNrs | ) | const [virtual] |
Get the data.
Reimplemented from casa::TableExprData.
virtual String casa::LogFilterExpr::getString | ( | const Block< Int > & | fieldNrs | ) | const [virtual] |
Reimplemented from casa::TableExprData.
Bool casa::LogFilterExpr::matches | ( | const LogMessage & | message | ) |
Does this message match the expression?
LogFilterExpr& casa::LogFilterExpr::operator= | ( | const LogFilterExpr & | ) |
Assignment (copy semantics).
TableExprNode* casa::LogFilterExpr::itsExpr [private] |
Definition at line 80 of file LogFilterExpr.h.
const LogMessage* casa::LogFilterExpr::itsMessage [private] |
Definition at line 81 of file LogFilterExpr.h.