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::LASTColumn Class Reference

Local sidereal time derived from TIME, etc. More...

#include <DerivedColumn.h>

Inheritance diagram for casacore::LASTColumn:
casacore::VirtualScalarColumn< Double > casacore::DataManagerColumn

Public Member Functions

 LASTColumn (MSCalEngine *engine, Int antnr)
 
virtual ~LASTColumn ()
 
virtual void get (uInt rowNr, Double &data)
 Get the scalar value in the given row. More...
 
- Public Member Functions inherited from casacore::VirtualScalarColumn< Double >
 VirtualScalarColumn ()
 Create a column. More...
 
virtual ~VirtualScalarColumn ()
 Frees up the storage. More...
 
int dataType () const
 Return the data type of the column. More...
 
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 void put (uInt rownr, const Double &data)
 Put the scalar value into the given row. 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 setShape (uInt rownr, const IPosition &shape)
 Set the shape of an (variable-shaped) array in the given row. 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 Bool isShapeDefined (uInt rownr)
 Is the value shape defined in the given row? By default it returns True. More...
 
virtual uInt ndim (uInt rownr)
 Get the dimensionality of the item in the given row. More...
 
virtual IPosition shape (uInt rownr)
 Get the shape of the item 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 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 canAccessArrayColumn (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 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...
 
virtual Bool canAccessSlice (Bool &reask) const
 Can the column data manager handle access to a cell slice? If not, the caller should do slicing itself (by accessing the entire array and slicing it). More...
 
virtual Bool canAccessColumnSlice (Bool &reask) const
 Can the column data manager handle access to a column slice? If not, the caller should access the column slice by looping through all cell slices 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 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 void getArrayV (uInt rownr, void *dataPtr)
 Get the array value in the given row. More...
 
virtual void putArrayV (uInt rownr, const void *dataPtr)
 Put the array value into the given row. More...
 
virtual void getArrayColumnV (void *dataPtr)
 Get all array values in the column. More...
 
virtual void putArrayColumnV (const void *dataPtr)
 Put all array values in the column. More...
 
virtual void getArrayColumnCellsV (const RefRows &rownrs, void *dataPtr)
 Get some array values in the column. More...
 
virtual void putArrayColumnCellsV (const RefRows &rownrs, const void *dataPtr)
 Put some array values in the column. More...
 
virtual void getSliceV (uInt rownr, const Slicer &slicer, void *dataPtr)
 Get a section of the array in the given row. More...
 
virtual void putSliceV (uInt rownr, const Slicer &slicer, const void *dataPtr)
 Put into a section of the array in the given row. More...
 
virtual void getColumnSliceV (const Slicer &slicer, void *dataPtr)
 Get a section of all arrays in the column. More...
 
virtual void putColumnSliceV (const Slicer &slicer, const void *dataPtr)
 Put into a section of all arrays in the column. More...
 
virtual void getColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, void *dataPtr)
 Get a section of some arrays in the column. More...
 
virtual void putColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, const void *dataPtr)
 Put into a section of some arrays in the column. 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
 
Int itsAntNr
 

Additional Inherited Members

- Protected Member Functions inherited from casacore::VirtualScalarColumn< Double >
Bool canAccessScalarColumn (Bool &reask) const
 The class can handle a get/putScalarColumn. More...
 
virtual void getScalarColumn (Vector< Double > &data)
 Get all scalar values in the column. More...
 
virtual void putScalarColumn (const Vector< Double > &data)
 Put all scalar values in the column. More...
 
virtual uInt getBlock (uInt rownr, uInt nrmax, Double *dataPtr)
 Get scalars from the given row on with a maximum of nrmax values. More...
 
virtual void putBlock (uInt rownr, uInt nrmax, const Double *dataPtr)
 Put nrmax scalars from the given row on. More...
 

Detailed Description

Local sidereal time derived from TIME, etc.

Intended use:

Internal

Definition at line 61 of file DerivedColumn.h.

Constructor & Destructor Documentation

casacore::LASTColumn::LASTColumn ( MSCalEngine engine,
Int  antnr 
)
inlineexplicit

Definition at line 64 of file DerivedColumn.h.

virtual casacore::LASTColumn::~LASTColumn ( )
virtual

Member Function Documentation

virtual void casacore::LASTColumn::get ( uInt  rownr,
Double data 
)
virtual

Get the scalar value in the given row.

Implements casacore::VirtualScalarColumn< Double >.

Member Data Documentation

Int casacore::LASTColumn::itsAntNr
private

Definition at line 72 of file DerivedColumn.h.

MSCalEngine* casacore::LASTColumn::itsEngine
private

Definition at line 71 of file DerivedColumn.h.


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