casa
5.7.0-16
|
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. More... | |
LogFilterExpr (const LogFilterExpr &) | |
Copy constructor (copy semantics). More... | |
virtual | ~LogFilterExpr () |
LogFilterExpr & | operator= (const LogFilterExpr &) |
Assignment (copy semantics). More... | |
Bool | matches (const LogMessage &message) |
Does this message match the expression? More... | |
virtual Double | getDouble (const Block< Int > &fieldNrs) const |
Get the data. More... | |
virtual String | getString (const Block< Int > &fieldNrs) const |
virtual DataType | dataType (const Block< Int > &fieldNrs) const |
Get the data type of the various values. More... | |
Public Member Functions inherited from casacore::TableExprData | |
TableExprData () | |
Construct it from a row number. More... | |
virtual | ~TableExprData () |
virtual IPosition | shape (const Block< Int > &fieldNrs) const |
Get the shape of the given field. More... | |
virtual Bool | getBool (const Block< Int > &fieldNrs) const |
Get a scalar in the given type. More... | |
virtual Int64 | getInt (const Block< Int > &fieldNrs) const |
virtual DComplex | getDComplex (const Block< Int > &fieldNrs) const |
virtual Array< Bool > | getArrayBool (const Block< Int > &fieldNrs) const |
Get an array in the given type. More... | |
virtual Array< Int64 > | getArrayInt (const Block< Int > &fieldNrs) const |
virtual Array< Double > | getArrayDouble (const Block< Int > &fieldNrs) const |
virtual Array< DComplex > | getArrayDComplex (const Block< Int > &fieldNrs) const |
virtual Array< String > | getArrayString (const Block< Int > &fieldNrs) const |
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 54 of file LogFilterExpr.h.
casacore::LogFilterExpr::LogFilterExpr | ( | const String & | expr | ) |
Construct it from an expression which gets parsed.
casacore::LogFilterExpr::LogFilterExpr | ( | const LogFilterExpr & | ) |
Copy constructor (copy semantics).
|
virtual |
Get the data type of the various values.
Implements casacore::TableExprData.
Get the data.
Reimplemented from casacore::TableExprData.
Reimplemented from casacore::TableExprData.
Bool casacore::LogFilterExpr::matches | ( | const LogMessage & | message | ) |
Does this message match the expression?
LogFilterExpr& casacore::LogFilterExpr::operator= | ( | const LogFilterExpr & | ) |
Assignment (copy semantics).
|
private |
Definition at line 81 of file LogFilterExpr.h.
|
private |
Definition at line 82 of file LogFilterExpr.h.