28 #ifndef MEAS_POSITIONENGINE_H 29 #define MEAS_POSITIONENGINE_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/tables/TaQL/ExprNode.h> 34 #include <casacore/measures/Measures/MPosition.h> 35 #include <casacore/measures/Measures/MCPosition.h> 36 #include <casacore/measures/Measures/MeasConvert.h> 37 #include <casacore/measures/TableMeasures/ArrayMeasColumn.h> A Vector of integers, for indexing into Array<T> objects.
A Measure: position on Earth.
void handlePosition(Int toValueType, PtrBlock< TableExprNodeRep * > &args, uInt &argnr)
Handle the argument(s) giving the input positions and reference type.
void handleConstant(TableExprNodeRep *operand)
Handle class for a table column expression tree.
CountedPtr< MPosition::Convert > itsConvert
Engine for TaQL UDF Position conversions.
Abstract base class for a node in a table column expression tree.
Read only access to table array Measure columns.
ArrayMeasColumn< MPosition > itsMeasCol
MPosition::Types itsRefType
Int ndim() const
Get the dimensionality.
void handleScalars(TableExprNodeRep *e1, TableExprNodeRep *e2, TableExprNodeRep *heightNode)
Referenced counted pointer for constant data.
Int valueType() const
Get the value type.
void handlePosArray(TableExprNodeRep *&operand)
Array< MPosition > itsConstants
void makeDefaults(const Unit &unit)
MPosition makePosition(const Quantity &qh, const Quantity &q1, const Quantity &q2) const
Make an MPosition from xyz or angles,height.
void handleObservatory(TableExprNodeRep *operand)
Array< Double > getArrayDouble(const TableExprId &id, MPosition::Types toRefType, Int toValueType)
Get the values.
bool Bool
Define the standard types used by Casacore.
const IPosition & shape() const
Get the shape.
A drop-in replacement for Block<T*>.
const Unit & unit() const
Get the unit.
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
void handlePosType(TableExprNodeRep *operand)
Handle a position reference type and optional suffix.
MPosition::Types refType() const
Get the reference type.
The identification of a TaQL selection subject.
TableExprNode itsExprNode
void handleValues(TableExprNode &operand, const TableExprId &id, Array< MPosition > &positions)
Array< MPosition > getPositions(const TableExprId &id)
Get the positions.
this file contains all the compiler specific defines
Bool isConstant() const
Tell if the expression is constant.