28 #ifndef MEAS_POSITIONENGINE_H
29 #define MEAS_POSITIONENGINE_H
32 #include <casacore/casa/aips.h>
33 #include<casacore/meas/MeasUDF/MeasEngine.h>
34 #include <casacore/measures/Measures/MPosition.h>
35 #include <casacore/measures/Measures/MCPosition.h>
36 #include <casacore/measures/Measures/MeasConvert.h>
149 const std::vector<TENShPtr>& args,
const Unit & unit() const
Get the unit of the function's result.
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
Array< MPosition > getPositions(const TableExprId &id)
Get the positions.
Int valueType() const
Get the value type.
MPosition makePosition(const Quantity &qh, const Quantity &q1, const Quantity &q2) const
Make an MPosition from xyz or height,angles.
virtual void setValueType(Int valueType)
Let a derived class set its value type.
virtual String stripMeasType(const String &type)
Let a derived class strip part of the reference type.
void handleScalars(const TENShPtr &e1, const TENShPtr &e2, const TENShPtr &e3, Int nval)
void handleObservatory(const TENShPtr &operand)
virtual void deriveAttr(const Unit &unit, Int nval)
Let a derived class derive its attributes.
virtual void handleValues(TableExprNode &operand, const TableExprId &id, Array< MPosition > &positions)
Let a derive class handle the values.
Array< Double > getArrayDouble(const TableExprId &id, MPosition::Types toRefType, Int toValueType)
Get the values.
virtual ~PositionEngine()
void handlePosArray(const TENShPtr &angles, const TENShPtr &height)
void handlePosition(Int toValueType, const std::vector< TENShPtr > &args, uInt &argnr)
Handle the argument(s) giving the input positions and reference type.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines