28 #ifndef TABLES_VIRTUALTAQLCOLUMN_H
29 #define TABLES_VIRTUALTAQLCOLUMN_H
void makeCurResult()
Make the result cache.
virtual void getBoolV(uInt rownr, Bool *dataPtr)
Get the scalar value in the given row.
A Vector of integers, for indexing into Array<T> objects.
virtual void getComplexV(uInt rownr, Complex *dataPtr)
Abstract base class for virtual column handling.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
virtual void create(uInt)
Let the engine initialize the object for a new table.
virtual DataManagerColumn * makeIndArrColumn(const String &columnName, int dataType, const String &dataTypeId)
Create the column object for the indirect array column in this engine.
std::complex< Float > Complex
virtual void getShortV(uInt rownr, Short *dataPtr)
const String & columnName() const
Get rhe column name.
Abstract base class for a column in a data manager.
Handle class for a table column expression tree.
virtual String dataManagerType() const
Return the type name of the engine.
virtual void getArrayV(uInt rownr, void *dataPtr)
Get the array value in the given row.
IPosition getResult(uInt rownr)
Get the array result into itsCurResult.
virtual IPosition shape(uInt rownr)
Get the shape of the item in the given row.
virtual void getIntV(uInt rownr, Int *dataPtr)
VirtualTaQLColumn & operator=(const VirtualTaQLColumn &)
Assignment is not needed and therefore forbidden (so it is made private).
virtual String dataManagerName() const
Return the name of the data manager.
const String & expression() const
Return the TaQL expression used.
VirtualTaQLColumn(const String &expr)
Construct it with the given TaQL expression.
virtual void getuCharV(uInt rownr, uChar *dataPtr)
virtual Bool isShapeDefined(uInt rownr)
Is the value shape defined in the given row? By default it returns True.
Virtual scalar column using TaQL.
static void registerClass()
Register the class name and the static makeObject "constructor".
std::complex< Double > DComplex
virtual void getuShortV(uInt rownr, uShort *dataPtr)
virtual void getStringV(uInt rownr, String *dataPtr)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual void getfloatV(uInt rownr, float *dataPtr)
virtual Bool isWritable() const
Test if data can be put into this column.
virtual void getuIntV(uInt rownr, uInt *dataPtr)
virtual int dataType() const
Functions to return column info.
virtual Record dataManagerSpec() const
Get the data manager specification.
virtual void getdoubleV(uInt rownr, double *dataPtr)
virtual ~VirtualTaQLColumn()
Destructor is mandatory.
virtual uInt ndim(uInt rownr)
Get the dimensionality of the item in the given row.
Abstract base class for a data manager.
String: the storage and methods of handling collections of characters.
void clearCurResult()
Clear the result cache.
virtual void prepare()
Prepare compiles the expression.
virtual void getDComplexV(uInt rownr, DComplex *dataPtr)
virtual DataManager * clone() const
Clone the engine object.
virtual DataManagerColumn * makeScalarColumn(const String &columnName, int dataType, const String &)
Create the column object for the scalar column in this engine.
static String className()
Return the name of the class.
virtual void getInt64V(uInt rownr, Int64 *dataPtr)
virtual String dataTypeId() const
Get the data type id of the column for dataType==TpOther.
static DataManager * makeObject(const String &dataManagerName, const Record &spec)
Define the "constructor" to construct this engine when a table is read back.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.