casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casacore::UVWJ2000Column Class Reference

UVW J2000 derived from TIME, etc. More...

#include <DerivedColumn.h>

Inheritance diagram for casacore::UVWJ2000Column:
casacore::VirtualArrayColumn< Double > casacore::DataManagerColumn

Public Member Functions

 UVWJ2000Column (MSCalEngine *engine)
 
virtual ~UVWJ2000Column ()
 
virtual IPosition shape (uInt rownr)
 Get the shape of the item in the given row. More...
 
virtual Bool isShapeDefined (uInt rownr)
 Is the value shape defined in the given row? By default it throws a "not possible" exception. More...
 
virtual void getArray (uInt rowNr, Array< Double > &data)
 Get the array value in the given row. More...
 
- Public Member Functions inherited from casacore::VirtualArrayColumn< Double >
 VirtualArrayColumn ()
 Create a column. More...
 
virtual ~VirtualArrayColumn ()
 Frees up the storage. More...
 
virtual int dataType () const
 Return the data type of the column. More...
 
virtual String dataTypeId () const
 Return the data type Id of the column. More...
 
virtual Bool isWritable () const
 By default no data can be put in a virtual column. More...
 
virtual Bool canAccessSlice (Bool &reask) const
 The class can handle a get/putSlice. More...
 
virtual Bool canAccessArrayColumn (Bool &reask) const
 The class can handle a get/putArrayColumn. More...
 
virtual Bool canAccessColumnSlice (Bool &reask) const
 The class can handle a get/putColumnSlice. More...
 
- Public Member Functions inherited from casacore::DataManagerColumn
 DataManagerColumn ()
 Create a column. More...
 
virtual ~DataManagerColumn ()
 Frees up the storage. More...
 
void setIsFixedShape (Bool isFixedShape)
 Set the isFixedShape flag. More...
 
Bool isFixedShape () const
 Is this a fixed shape column? More...
 
virtual void setMaxLength (uInt maxLength)
 Set the maximum length of the value (can be used for strings). More...
 
void setFixedShapeColumn (const IPosition &shape)
 Set the shape of all (fixed-shaped) arrays in the column. More...
 
virtual void setShapeTiled (uInt rownr, const IPosition &shape, const IPosition &tileShape)
 Set the shape and tile shape of an (variable-shaped) array in the given row. More...
 
virtual IPosition tileShape (uInt rownr)
 Get the tile shape of the item in the given row. More...
 
virtual Bool canChangeShape () const
 Can the data manager handle chaging the shape of an existing array? Default is no. More...
 
virtual Bool canAccessScalarColumn (Bool &reask) const
 Can the column data manager handle access to a scalar column? If not, the caller should access the column by looping through all cells in the column. More...
 
virtual Bool canAccessScalarColumnCells (Bool &reask) const
 Can the column data manager handle access to a clooection of cells in a scalar column? If not, the caller should access the column cells by looping through the cells in the column. More...
 
virtual Bool canAccessArrayColumnCells (Bool &reask) const
 Can the column data manager handle access to a collection of cells in an array column? If not, the caller should access the column cells by looping through the cells in the column. More...
 
ColumnCachecolumnCache ()
 Get access to the ColumnCache object. More...
 
const ColumnCachecolumnCachePtr () const
 
void get (uInt rownr, Bool *dataPtr)
 Get the scalar value in the given row. More...
 
void get (uInt rownr, uChar *dataPtr)
 
void get (uInt rownr, Short *dataPtr)
 
void get (uInt rownr, uShort *dataPtr)
 
void get (uInt rownr, Int *dataPtr)
 
void get (uInt rownr, uInt *dataPtr)
 
void get (uInt rownr, Int64 *dataPtr)
 
void get (uInt rownr, float *dataPtr)
 
void get (uInt rownr, double *dataPtr)
 
void get (uInt rownr, Complex *dataPtr)
 
void get (uInt rownr, DComplex *dataPtr)
 
void get (uInt rownr, String *dataPtr)
 
void get (uInt rownr, void *dataPtr)
 This function is the get for all non-standard data types. More...
 
void put (uInt rownr, const Bool *dataPtr)
 Put the scalar value into the given row. More...
 
void put (uInt rownr, const uChar *dataPtr)
 
void put (uInt rownr, const Short *dataPtr)
 
void put (uInt rownr, const uShort *dataPtr)
 
void put (uInt rownr, const Int *dataPtr)
 
void put (uInt rownr, const uInt *dataPtr)
 
void put (uInt rownr, const Int64 *dataPtr)
 
void put (uInt rownr, const float *dataPtr)
 
void put (uInt rownr, const double *dataPtr)
 
void put (uInt rownr, const Complex *dataPtr)
 
void put (uInt rownr, const DComplex *dataPtr)
 
void put (uInt rownr, const String *dataPtr)
 
void put (uInt rownr, const void *dataPtr)
 This function is the put for all non-standard data types. More...
 
virtual void getScalarColumnV (void *dataPtr)
 Get all scalar values in the column. More...
 
virtual void putScalarColumnV (const void *dataPtr)
 Put all scalar values in the column. More...
 
virtual void getScalarColumnCellsV (const RefRows &rownrs, void *dataPtr)
 Get some scalar values in the column. More...
 
virtual void putScalarColumnCellsV (const RefRows &rownrs, const void *dataPtr)
 Put some scalar values in the column. More...
 
virtual uInt getBlockV (uInt rownr, uInt nrmax, void *dataPtr)
 Get scalars from the given row on with a maximum of nrmax values. More...
 
virtual void putBlockV (uInt rownr, uInt nrmax, const void *dataPtr)
 Put nrmax scalars from the given row on. More...
 
void throwGet () const
 Throw an "invalid operation" exception for the default implementation of get. More...
 
void throwPut () const
 Throw an "invalid operation" exception for the default implementation of put. More...
 
void setColumnName (const String &colName)
 Set the column name. More...
 
const StringcolumnName () const
 Get rhe column name. More...
 

Private Attributes

MSCalEngineitsEngine
 

Additional Inherited Members

- Protected Member Functions inherited from casacore::VirtualArrayColumn< Double >
virtual void setShapeColumn (const IPosition &shape)
 Set the shape of all arrays in the column. More...
 
virtual void setShape (uInt rownr, const IPosition &shape)
 Set the shape of an array in the given row. More...
 
virtual uInt ndim (uInt rownr)
 Get the dimensionality of the item in the given row. More...
 
virtual void putArray (uInt rownr, const Array< Double > &data)
 Put the array value into the given row. More...
 
virtual void getSlice (uInt rownr, const Slicer &slicer, Array< Double > &data)
 Get a section of the array in the given row. More...
 
virtual void putSlice (uInt rownr, const Slicer &slicer, const Array< Double > &data)
 Put into a section of the array in the given row. More...
 
virtual void getArrayColumn (Array< Double > &data)
 Get an entire column. More...
 
virtual void putArrayColumn (const Array< Double > &data)
 Put an entire column. More...
 
virtual void getArrayColumnCells (const RefRows &rownrs, Array< Double > &data)
 Get some array values in the column. More...
 
virtual void putArrayColumnCells (const RefRows &rownrs, const Array< Double > &data)
 Put some array values in the column. More...
 
virtual void getColumnSlice (const Slicer &slicer, Array< Double > &data)
 Get a section of all arrays in the column. More...
 
virtual void putColumnSlice (const Slicer &slicer, const Array< Double > &data)
 Put a section of all arrays in the column. More...
 
virtual void getColumnSliceCells (const RefRows &rownrs, const Slicer &slicer, Array< Double > &data)
 Get a section of some arrays in the column. More...
 
virtual void putColumnSliceCells (const RefRows &rownrs, const Slicer &slicer, const Array< Double > &data)
 Put into a section of some arrays in the column. More...
 
- Protected Member Functions inherited from casacore::DataManagerColumn
virtual void getBoolV (uInt rownr, Bool *dataPtr)
 Get the scalar value in the given row. More...
 
virtual void getuCharV (uInt rownr, uChar *dataPtr)
 
virtual void getShortV (uInt rownr, Short *dataPtr)
 
virtual void getuShortV (uInt rownr, uShort *dataPtr)
 
virtual void getIntV (uInt rownr, Int *dataPtr)
 
virtual void getuIntV (uInt rownr, uInt *dataPtr)
 
virtual void getInt64V (uInt rownr, Int64 *dataPtr)
 
virtual void getfloatV (uInt rownr, float *dataPtr)
 
virtual void getdoubleV (uInt rownr, double *dataPtr)
 
virtual void getComplexV (uInt rownr, Complex *dataPtr)
 
virtual void getDComplexV (uInt rownr, DComplex *dataPtr)
 
virtual void getStringV (uInt rownr, String *dataPtr)
 
virtual void getOtherV (uInt rownr, void *dataPtr)
 This function is the get for all non-standard data types. More...
 
virtual void putBoolV (uInt rownr, const Bool *dataPtr)
 Put the scalar value into the given row. More...
 
virtual void putuCharV (uInt rownr, const uChar *dataPtr)
 
virtual void putShortV (uInt rownr, const Short *dataPtr)
 
virtual void putuShortV (uInt rownr, const uShort *dataPtr)
 
virtual void putIntV (uInt rownr, const Int *dataPtr)
 
virtual void putuIntV (uInt rownr, const uInt *dataPtr)
 
virtual void putInt64V (uInt rownr, const Int64 *dataPtr)
 
virtual void putfloatV (uInt rownr, const float *dataPtr)
 
virtual void putdoubleV (uInt rownr, const double *dataPtr)
 
virtual void putComplexV (uInt rownr, const Complex *dataPtr)
 
virtual void putDComplexV (uInt rownr, const DComplex *dataPtr)
 
virtual void putStringV (uInt rownr, const String *dataPtr)
 
virtual void putOtherV (uInt rownr, const void *dataPtr)
 This function is the put for all non-standard data types. More...
 

Detailed Description

UVW J2000 derived from TIME, etc.

Intended use:

Internal

Definition at line 152 of file DerivedColumn.h.

Constructor & Destructor Documentation

casacore::UVWJ2000Column::UVWJ2000Column ( MSCalEngine engine)
inlineexplicit

Definition at line 155 of file DerivedColumn.h.

virtual casacore::UVWJ2000Column::~UVWJ2000Column ( )
virtual

Member Function Documentation

virtual void casacore::UVWJ2000Column::getArray ( uInt  rownr,
Array< Double > &  data 
)
virtual

Get the array value in the given row.

The data array has to have the correct shape (which is guaranteed by the ArrayColumn::get function).

Implements casacore::VirtualArrayColumn< Double >.

virtual Bool casacore::UVWJ2000Column::isShapeDefined ( uInt  rownr)
virtual

Is the value shape defined in the given row? By default it throws a "not possible" exception.

Reimplemented from casacore::VirtualArrayColumn< Double >.

virtual IPosition casacore::UVWJ2000Column::shape ( uInt  rownr)
virtual

Get the shape of the item in the given row.

By default it throws a "not possible" exception.

Reimplemented from casacore::VirtualArrayColumn< Double >.

Member Data Documentation

MSCalEngine* casacore::UVWJ2000Column::itsEngine
private

Definition at line 163 of file DerivedColumn.h.


The documentation for this class was generated from the following file: