28 #ifndef TABLES_VIRTUALTAQLCOLUMN_H 29 #define TABLES_VIRTUALTAQLCOLUMN_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/tables/DataMan/VirtColEng.h> 34 #include <casacore/tables/DataMan/DataManager.h> 35 #include <casacore/casa/Arrays/IPosition.h> 150 int dataType,
const String&);
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.
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)
Abstract base class for a column in a data manager.
virtual Bool isWritable() const
Test if data can be put into this column.
Handle class for a table column expression tree.
virtual void getArrayV(uInt rownr, void *dataPtr)
Get the array value in the given row.
virtual String dataManagerType() const
Return the type name of the engine.
const String & columnName() const
Get rhe column name.
virtual DataManager * clone() const
Clone the engine object.
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 dataTypeId() const
Get the data type id of the column for dataType==TpOther.
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)
IPosition getResult(uInt rownr, void *dataPtr)
Get the result.
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 void getuIntV(uInt rownr, uInt *dataPtr)
virtual int dataType() const
Functions to return column info.
const String & expression() const
Return the TaQL expression used.
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.
virtual Record dataManagerSpec() const
Get the data manager specification.
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 String dataManagerName() const
Return the name of the data manager.
this file contains all the compiler specific defines
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.
static DataManager * makeObject(const String &dataManagerName, const Record &spec)
Define the "constructor" to construct this engine when a table is read back.