Loading...
Searching...
No Matches
casacore::StokesIStManColumn Class Referencefinal

Base class for columns of the StokesIStMan. More...

`#include <StokesIStManColumn.h>`

## Public Member Functions

| StokesIStManColumn (StokesIStMan &parent, BufferedColumnarFile &file, casacore::DataType dtype)
| Constructor, to be overloaded by subclass.
casacore::Bool | isWritable () const final
| Whether this column is writable.
void | setShapeColumn (const casacore::IPosition &shape) final
| Set the dimensions of values in this column.
casacore::IPosition | shape (casacore::uInt) final
| Get the dimensions of the values in a particular row.
casacore::IPosition | shape (casacore::rownr_t) final
| Get the shape of the item in the given row.
const casacore::IPosition & | shape () const
void | getArrayComplexV (casacore::uInt rowNr, casacore::Array< casacore::Complex > *dataPtr) final
| Read the values for a particular row.
void | getArrayfloatV (casacore::uInt rowNr, casacore::Array< float > *dataPtr) final
void | getArrayBoolV (casacore::uInt rowNr, casacore::Array< casacore::Bool > *dataPtr) final
| Get the array value in the given row.
void | putArrayComplexV (casacore::uInt rowNr, const casacore::Array< casacore::Complex > *dataPtr) final
| Write values into a particular row.
void | putArrayDComplexV (casacore::uInt rowNr, const casacore::Array< casacore::DComplex > *dataPtr) final
void | putArraydoubleV (casacore::uInt rowNr, const casacore::Array< double > *dataPtr) final
void | putArrayfloatV (casacore::uInt rowNr, const casacore::Array< float > *dataPtr) final
void | putArrayBoolV (casacore::uInt rowNr, const casacore::Array< casacore::Bool > *dataPtr) final
| Put the array value into the given row.
void | setOffset (uint64_t column_offset)
uint64_t | getStoredSizeInBytes () const
Public Member Functions inherited from casacore::StManColumn
| StManColumn (int dataType)
| Default constructor.
virtual | ~StManColumn ()
| StManColumn (const StManColumn &)=delete
| The object cannot be copied.
StManColumn & | operator= (const StManColumn &)=delete
| The object cannot be assigned to.
virtual void | setShape (rownr_t rownr, const IPosition &shape)
| Set the shape of an (variable-shaped) array in the given row.
virtual void | setShape (uInt rownr, const IPosition &shape)
virtual void | setShapeTiled (rownr_t rownr, const IPosition &shape, const IPosition &tileShape)
| Set the shape and tile shape of an (variable-shaped) array in the given row.
virtual void | setShapeTiled (uInt rownr, const IPosition &shape, const IPosition &tileShape)
virtual Bool | isShapeDefined (rownr_t rownr)
| Is the value shape defined in the given row?
virtual Bool | isShapeDefined (uInt rownr)
virtual uInt | ndim (rownr_t rownr)
| Get the dimensionality of the item in the given row.
virtual uInt | ndim (uInt rownr)
virtual IPosition | tileShape (rownr_t rownr)
| Get the tile shape of the item in the given row.
virtual IPosition | tileShape (uInt rownr)
virtual void | getBool (rownr_t rownr, Bool *dataPtr)
| Get the scalar value in the given row.
virtual void | getuChar (rownr_t rownr, uChar *dataPtr)
virtual void | getShort (rownr_t rownr, Short *dataPtr)
virtual void | getuShort (rownr_t rownr, uShort *dataPtr)
virtual void | getInt (rownr_t rownr, Int *dataPtr)
virtual void | getuInt (rownr_t rownr, uInt *dataPtr)
virtual void | getfloat (rownr_t rownr, float *dataPtr)
virtual void | getdouble (rownr_t rownr, double *dataPtr)
virtual void | getComplex (rownr_t rownr, Complex *dataPtr)
virtual void | getDComplex (rownr_t rownr, DComplex *dataPtr)
virtual void | getString (rownr_t rownr, String *dataPtr)
virtual void | putBool (rownr_t rownr, const Bool *dataPtr)
| Put the scalar value in the given row.
virtual void | putuChar (rownr_t rownr, const uChar *dataPtr)
virtual void | putShort (rownr_t rownr, const Short *dataPtr)
virtual void | putuShort (rownr_t rownr, const uShort *dataPtr)
virtual void | putInt (rownr_t rownr, const Int *dataPtr)
virtual void | putuInt (rownr_t rownr, const uInt *dataPtr)
virtual void | putfloat (rownr_t rownr, const float *dataPtr)
virtual void | putdouble (rownr_t rownr, const double *dataPtr)
virtual void | putComplex (rownr_t rownr, const Complex *dataPtr)
virtual void | putDComplex (rownr_t rownr, const DComplex *dataPtr)
virtual void | putString (rownr_t rownr, const String *dataPtr)
virtual void | getScalarColumnV (ArrayBase &dataPtr)
| Get all scalar values in the column.
virtual void | putScalarColumnV (const ArrayBase &dataPtr)
| Put all scalar values in the column.
virtual void | getScalarColumnCellsV (const RefRows &rownrs, ArrayBase &dataPtr)
| Get some scalar values in the column.
virtual void | putScalarColumnCellsV (const RefRows &rownrs, const ArrayBase &dataPtr)
| Put some scalar values in the column.
virtual void | getArrayV (rownr_t rownr, ArrayBase &dataPtr)
| Get the array value in the given row.
virtual void | putArrayV (rownr_t rownr, const ArrayBase &dataPtr)
| Put the array value into the given row.
virtual void | getArrayColumnV (ArrayBase &dataPtr)
| Get all array values in the column.
virtual void | putArrayColumnV (const ArrayBase &dataPtr)
| Put all array values in the column.
virtual void | getArrayColumnCellsV (const RefRows &rownrs, ArrayBase &dataPtr)
| Get some array values in the column.
virtual void | putArrayColumnCellsV (const RefRows &rownrs, const ArrayBase &dataPtr)
| Put some array values in the column.
virtual void | getSliceV (rownr_t rownr, const Slicer &slicer, ArrayBase &dataPtr)
| Get a section of the array in the given row.
virtual void | putSliceV (rownr_t rownr, const Slicer &slicer, const ArrayBase &dataPtr)
| Put into a section of the array in the given row.
virtual void | getColumnSliceV (const Slicer &slicer, ArrayBase &dataPtr)
| Get a section of all arrays in the column.
virtual void | putColumnSliceV (const Slicer &slicer, const ArrayBase &dataPtr)
| Put into a section of all arrays in the column.
virtual void | getColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, ArrayBase &dataPtr)
| Get a section of some arrays in the column.
virtual void | putColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, const ArrayBase &dataPtr)
| Put into a section of some arrays in the column.
Public Member Functions inherited from casacore::StManColumnBase
| StManColumnBase (int dataType)
| Default constructor.
| ~StManColumnBase ()
| StManColumnBase (const StManColumnBase &)=delete
| The object cannot be copied.
StManColumnBase & | operator= (const StManColumnBase &)=delete
| The object cannot be assigned to.
virtual int | dataType () const
| Return the data type of the column.
DataType | dtype () const
Int | elemSize () const
| Return the size of an element of the column's data type.
Public Member Functions inherited from casacore::DataManagerColumn
| DataManagerColumn ()
| Create a column.
virtual | ~DataManagerColumn ()
| Frees up the storage.
| DataManagerColumn (const DataManagerColumn &)=delete
| The copy constructor cannot be used for this base class.
DataManagerColumn & | operator= (const DataManagerColumn &)=delete
| Assignment cannot be used for this base class.
void | setIsFixedShape (Bool isFixedShape)
| Set the isFixedShape flag.
Bool | isFixedShape () const
| Is this a fixed shape column?
virtual String | dataTypeId () const
| Get the data type id of the column for dataType==TpOther.
virtual void | setMaxLength (uInt maxLength)
| Set the maximum length of the value (can be used for strings).
void | setFixedShapeColumn (const IPosition &shape)
| Set the shape of all (fixed-shaped) arrays in the column.
virtual Bool | canChangeShape () const
| Can the data manager handle chaging the shape of an existing array?
ColumnCache & | columnCache ()
| Get access to the ColumnCache object.
const ColumnCache * | columnCachePtr () const
void | get (rownr_t rownr, Bool *dataPtr)
| Get the scalar value in the given row.
void | get (rownr_t rownr, uChar *dataPtr)
void | get (rownr_t rownr, Short *dataPtr)
void | get (rownr_t rownr, uShort *dataPtr)
void | get (rownr_t rownr, Int *dataPtr)
void | get (rownr_t rownr, uInt *dataPtr)
void | get (rownr_t rownr, Int64 *dataPtr)
void | get (rownr_t rownr, float *dataPtr)
void | get (rownr_t rownr, double *dataPtr)
void | get (rownr_t rownr, Complex *dataPtr)
void | get (rownr_t rownr, DComplex *dataPtr)
void | get (rownr_t rownr, String *dataPtr)
void | get (rownr_t rownr, void *dataPtr)
| This function is the get for all non-standard data types.
void | put (rownr_t rownr, const Bool *dataPtr)
| Put the scalar value into the given row.
void | put (rownr_t rownr, const uChar *dataPtr)
void | put (rownr_t rownr, const Short *dataPtr)
void | put (rownr_t rownr, const uShort *dataPtr)
void | put (rownr_t rownr, const Int *dataPtr)
void | put (rownr_t rownr, const uInt *dataPtr)
void | put (rownr_t rownr, const Int64 *dataPtr)
void | put (rownr_t rownr, const float *dataPtr)
void | put (rownr_t rownr, const double *dataPtr)
void | put (rownr_t rownr, const Complex *dataPtr)
void | put (rownr_t rownr, const DComplex *dataPtr)
void | put (rownr_t rownr, const String *dataPtr)
void | put (rownr_t rownr, const void *dataPtr)
| This function is the put for all non-standard data types.
void | throwGet () const
| Throw an "invalid operation" exception for the default implementation of get.
void | throwPut () const
| Throw an "invalid operation" exception for the default implementation of put.
void | setColumnName (const String &colName)
| Set the column name.
const String & | columnName () const
| Get rhe column name.

## Private Member Functions

| StokesIStManColumn (const StokesIStManColumn &source)=delete
void | operator= (const StokesIStManColumn &source)=delete
template<typename T>
void | getArrayGeneric (casacore::uInt rowNr, casacore::Array< T > *dataPtr)
template<typename T>
void | putArrayGeneric (casacore::uInt rowNr, const casacore::Array< T > *dataPtr)
void | updateStride ()

## Private Attributes

StokesIStMan & | parent_
BufferedColumnarFile & | file_
IPosition | shape_
uint64_t | column_offset_
std::vector< char > | buffer_

## Additional Inherited Members

Static Public Member Functions inherited from casacore::StManColumnBase
static Bool | isNativeDataType (int dtype)
| Test if the given data type is supported by storage managers.
Protected Member Functions inherited from casacore::StManColumn
virtual void | getBoolV (uInt rownr, Bool *dataPtr)
| Get the scalar value in the given row.
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 | 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 | putBoolV (uInt rownr, const Bool *dataPtr)
| Put the scalar value in the given row.
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 | 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 | getScalarColumnBoolV (Vector< Bool > *dataPtr)
| Get the scalar values in the entire column.
virtual void | getScalarColumnuCharV (Vector< uChar > *dataPtr)
virtual void | getScalarColumnShortV (Vector< Short > *dataPtr)
virtual void | getScalarColumnuShortV (Vector< uShort > *dataPtr)
virtual void | getScalarColumnIntV (Vector< Int > *dataPtr)
virtual void | getScalarColumnuIntV (Vector< uInt > *dataPtr)
virtual void | getScalarColumnInt64V (Vector< Int64 > *dataPtr)
virtual void | getScalarColumnfloatV (Vector< float > *dataPtr)
virtual void | getScalarColumndoubleV (Vector< double > *dataPtr)
virtual void | getScalarColumnComplexV (Vector< Complex > *dataPtr)
virtual void | getScalarColumnDComplexV (Vector< DComplex > *dataPtr)
virtual void | getScalarColumnStringV (Vector< String > *dataPtr)
virtual void | putScalarColumnBoolV (const Vector< Bool > *dataPtr)
| Put the scalar values into the entire column.
virtual void | putScalarColumnuCharV (const Vector< uChar > *dataPtr)
virtual void | putScalarColumnShortV (const Vector< Short > *dataPtr)
virtual void | putScalarColumnuShortV (const Vector< uShort > *dataPtr)
virtual void | putScalarColumnIntV (const Vector< Int > *dataPtr)
virtual void | putScalarColumnuIntV (const Vector< uInt > *dataPtr)
virtual void | putScalarColumnInt64V (const Vector< Int64 > *dataPtr)
virtual void | putScalarColumnfloatV (const Vector< float > *dataPtr)
virtual void | putScalarColumndoubleV (const Vector< double > *dataPtr)
virtual void | putScalarColumnComplexV (const Vector< Complex > *dataPtr)
virtual void | putScalarColumnDComplexV (const Vector< DComplex > *dataPtr)
virtual void | putScalarColumnStringV (const Vector< String > *dataPtr)
virtual void | getScalarColumnCellsBoolV (const RefRows &rownrs, Vector< Bool > *dataPtr)
| Get the scalar values in some cells of the column.
virtual void | getScalarColumnCellsuCharV (const RefRows &rownrs, Vector< uChar > *dataPtr)
virtual void | getScalarColumnCellsShortV (const RefRows &rownrs, Vector< Short > *dataPtr)
virtual void | getScalarColumnCellsuShortV (const RefRows &rownrs, Vector< uShort > *dataPtr)
virtual void | getScalarColumnCellsIntV (const RefRows &rownrs, Vector< Int > *dataPtr)
virtual void | getScalarColumnCellsuIntV (const RefRows &rownrs, Vector< uInt > *dataPtr)
virtual void | getScalarColumnCellsInt64V (const RefRows &rownrs, Vector< Int64 > *dataPtr)
virtual void | getScalarColumnCellsfloatV (const RefRows &rownrs, Vector< float > *dataPtr)
virtual void | getScalarColumnCellsdoubleV (const RefRows &rownrs, Vector< double > *dataPtr)
virtual void | getScalarColumnCellsComplexV (const RefRows &rownrs, Vector< Complex > *dataPtr)
virtual void | getScalarColumnCellsDComplexV (const RefRows &rownrs, Vector< DComplex > *dataPtr)
virtual void | getScalarColumnCellsStringV (const RefRows &rownrs, Vector< String > *dataPtr)
virtual void | putScalarColumnCellsBoolV (const RefRows &rownrs, const Vector< Bool > *dataPtr)
| Put the scalar values into some cells of the column.
virtual void | putScalarColumnCellsuCharV (const RefRows &rownrs, const Vector< uChar > *dataPtr)
virtual void | putScalarColumnCellsShortV (const RefRows &rownrs, const Vector< Short > *dataPtr)
virtual void | putScalarColumnCellsuShortV (const RefRows &rownrs, const Vector< uShort > *dataPtr)
virtual void | putScalarColumnCellsIntV (const RefRows &rownrs, const Vector< Int > *dataPtr)
virtual void | putScalarColumnCellsuIntV (const RefRows &rownrs, const Vector< uInt > *dataPtr)
virtual void | putScalarColumnCellsInt64V (const RefRows &rownrs, const Vector< Int64 > *dataPtr)
virtual void | putScalarColumnCellsfloatV (const RefRows &rownrs, const Vector< float > *dataPtr)
virtual void | putScalarColumnCellsdoubleV (const RefRows &rownrs, const Vector< double > *dataPtr)
virtual void | putScalarColumnCellsComplexV (const RefRows &rownrs, const Vector< Complex > *dataPtr)
virtual void | putScalarColumnCellsDComplexV (const RefRows &rownrs, const Vector< DComplex > *dataPtr)
virtual void | putScalarColumnCellsStringV (const RefRows &rownrs, const Vector< String > *dataPtr)
virtual void | getArrayuCharV (uInt rownr, Array< uChar > *dataPtr)
virtual void | getArrayShortV (uInt rownr, Array< Short > *dataPtr)
virtual void | getArrayuShortV (uInt rownr, Array< uShort > *dataPtr)
virtual void | getArrayIntV (uInt rownr, Array< Int > *dataPtr)
virtual void | getArrayuIntV (uInt rownr, Array< uInt > *dataPtr)
virtual void | getArrayInt64V (uInt rownr, Array< Int64 > *dataPtr)
virtual void | getArraydoubleV (uInt rownr, Array< double > *dataPtr)
virtual void | getArrayComplexV (uInt rownr, Array< Complex > *dataPtr)
virtual void | getArrayDComplexV (uInt rownr, Array< DComplex > *dataPtr)
virtual void | getArrayStringV (uInt rownr, Array< String > *dataPtr)
virtual void | putArrayuCharV (uInt rownr, const Array< uChar > *dataPtr)
virtual void | putArrayShortV (uInt rownr, const Array< Short > *dataPtr)
virtual void | putArrayuShortV (uInt rownr, const Array< uShort > *dataPtr)
virtual void | putArrayIntV (uInt rownr, const Array< Int > *dataPtr)
virtual void | putArrayuIntV (uInt rownr, const Array< uInt > *dataPtr)
virtual void | putArrayInt64V (uInt rownr, const Array< Int64 > *dataPtr)
virtual void | putArrayComplexV (uInt rownr, const Array< Complex > *dataPtr)
virtual void | putArrayDComplexV (uInt rownr, const Array< DComplex > *dataPtr)
virtual void | putArrayStringV (uInt rownr, const Array< String > *dataPtr)
virtual void | getArrayColumnBoolV (Array< Bool > *dataPtr)
| Get the array values in the entire column.
virtual void | getArrayColumnuCharV (Array< uChar > *dataPtr)
virtual void | getArrayColumnShortV (Array< Short > *dataPtr)
virtual void | getArrayColumnuShortV (Array< uShort > *dataPtr)
virtual void | getArrayColumnIntV (Array< Int > *dataPtr)
virtual void | getArrayColumnuIntV (Array< uInt > *dataPtr)
virtual void | getArrayColumnInt64V (Array< Int64 > *dataPtr)
virtual void | getArrayColumnfloatV (Array< float > *dataPtr)
virtual void | getArrayColumndoubleV (Array< double > *dataPtr)
virtual void | getArrayColumnComplexV (Array< Complex > *dataPtr)
virtual void | getArrayColumnDComplexV (Array< DComplex > *dataPtr)
virtual void | getArrayColumnStringV (Array< String > *dataPtr)
virtual void | putArrayColumnBoolV (const Array< Bool > *dataPtr)
| Put the array values into the entire column.
virtual void | putArrayColumnuCharV (const Array< uChar > *dataPtr)
virtual void | putArrayColumnShortV (const Array< Short > *dataPtr)
virtual void | putArrayColumnuShortV (const Array< uShort > *dataPtr)
virtual void | putArrayColumnIntV (const Array< Int > *dataPtr)
virtual void | putArrayColumnuIntV (const Array< uInt > *dataPtr)
virtual void | putArrayColumnInt64V (const Array< Int64 > *dataPtr)
virtual void | putArrayColumnfloatV (const Array< float > *dataPtr)
virtual void | putArrayColumndoubleV (const Array< double > *dataPtr)
virtual void | putArrayColumnComplexV (const Array< Complex > *dataPtr)
virtual void | putArrayColumnDComplexV (const Array< DComplex > *dataPtr)
virtual void | putArrayColumnStringV (const Array< String > *dataPtr)
virtual void | getArrayColumnCellsBoolV (const RefRows &rownrs, Array< Bool > *dataPtr)
| Get the array values in some cells of the column.
virtual void | getArrayColumnCellsuCharV (const RefRows &rownrs, Array< uChar > *dataPtr)
virtual void | getArrayColumnCellsShortV (const RefRows &rownrs, Array< Short > *dataPtr)
virtual void | getArrayColumnCellsuShortV (const RefRows &rownrs, Array< uShort > *dataPtr)
virtual void | getArrayColumnCellsIntV (const RefRows &rownrs, Array< Int > *dataPtr)
virtual void | getArrayColumnCellsuIntV (const RefRows &rownrs, Array< uInt > *dataPtr)
virtual void | getArrayColumnCellsInt64V (const RefRows &rownrs, Array< Int64 > *dataPtr)
virtual void | getArrayColumnCellsfloatV (const RefRows &rownrs, Array< float > *dataPtr)
virtual void | getArrayColumnCellsdoubleV (const RefRows &rownrs, Array< double > *dataPtr)
virtual void | getArrayColumnCellsComplexV (const RefRows &rownrs, Array< Complex > *dataPtr)
virtual void | getArrayColumnCellsDComplexV (const RefRows &rownrs, Array< DComplex > *dataPtr)
virtual void | getArrayColumnCellsStringV (const RefRows &rownrs, Array< String > *dataPtr)
virtual void | putArrayColumnCellsBoolV (const RefRows &rownrs, const Array< Bool > *dataPtr)
| Put the array values into some cells of the column.
virtual void | putArrayColumnCellsuCharV (const RefRows &rownrs, const Array< uChar > *dataPtr)
virtual void | putArrayColumnCellsShortV (const RefRows &rownrs, const Array< Short > *dataPtr)
virtual void | putArrayColumnCellsuShortV (const RefRows &rownrs, const Array< uShort > *dataPtr)
virtual void | putArrayColumnCellsIntV (const RefRows &rownrs, const Array< Int > *dataPtr)
virtual void | putArrayColumnCellsuIntV (const RefRows &rownrs, const Array< uInt > *dataPtr)
virtual void | putArrayColumnCellsInt64V (const RefRows &rownrs, const Array< Int64 > *dataPtr)
virtual void | putArrayColumnCellsfloatV (const RefRows &rownrs, const Array< float > *dataPtr)
virtual void | putArrayColumnCellsdoubleV (const RefRows &rownrs, const Array< double > *dataPtr)
virtual void | putArrayColumnCellsComplexV (const RefRows &rownrs, const Array< Complex > *dataPtr)
virtual void | putArrayColumnCellsDComplexV (const RefRows &rownrs, const Array< DComplex > *dataPtr)
virtual void | putArrayColumnCellsStringV (const RefRows &rownrs, const Array< String > *dataPtr)
virtual void | getSliceBoolV (uInt rownr, const Slicer &ns, Array< Bool > *dataPtr)
| Get the array value in the given row.
virtual void | getSliceuCharV (uInt rownr, const Slicer &ns, Array< uChar > *dataPtr)
virtual void | getSliceShortV (uInt rownr, const Slicer &ns, Array< Short > *dataPtr)
virtual void | getSliceuShortV (uInt rownr, const Slicer &ns, Array< uShort > *dataPtr)
virtual void | getSliceIntV (uInt rownr, const Slicer &ns, Array< Int > *dataPtr)
virtual void | getSliceuIntV (uInt rownr, const Slicer &ns, Array< uInt > *dataPtr)
virtual void | getSliceInt64V (uInt rownr, const Slicer &ns, Array< Int64 > *dataPtr)
virtual void | getSlicefloatV (uInt rownr, const Slicer &ns, Array< float > *dataPtr)
virtual void | getSlicedoubleV (uInt rownr, const Slicer &ns, Array< double > *dataPtr)
virtual void | getSliceComplexV (uInt rownr, const Slicer &ns, Array< Complex > *dataPtr)
virtual void | getSliceDComplexV (uInt rownr, const Slicer &ns, Array< DComplex > *dataPtr)
virtual void | getSliceStringV (uInt rownr, const Slicer &ns, Array< String > *dataPtr)
virtual void | putSliceBoolV (uInt rownr, const Slicer &ns, const Array< Bool > *dataPtr)
| Put the array value into the given row.
virtual void | putSliceuCharV (uInt rownr, const Slicer &ns, const Array< uChar > *dataPtr)
virtual void | putSliceShortV (uInt rownr, const Slicer &ns, const Array< Short > *dataPtr)
virtual void | putSliceuShortV (uInt rownr, const Slicer &ns, const Array< uShort > *dataPtr)
virtual void | putSliceIntV (uInt rownr, const Slicer &ns, const Array< Int > *dataPtr)
virtual void | putSliceuIntV (uInt rownr, const Slicer &ns, const Array< uInt > *dataPtr)
virtual void | putSliceInt64V (uInt rownr, const Slicer &ns, const Array< Int64 > *dataPtr)
virtual void | putSlicefloatV (uInt rownr, const Slicer &ns, const Array< float > *dataPtr)
virtual void | putSlicedoubleV (uInt rownr, const Slicer &ns, const Array< double > *dataPtr)
virtual void | putSliceComplexV (uInt rownr, const Slicer &ns, const Array< Complex > *dataPtr)
virtual void | putSliceDComplexV (uInt rownr, const Slicer &ns, const Array< DComplex > *dataPtr)
virtual void | putSliceStringV (uInt rownr, const Slicer &ns, const Array< String > *dataPtr)
virtual void | getColumnSliceBoolV (const Slicer &ns, Array< Bool > *dataPtr)
| Get the array values in the entire column.
virtual void | getColumnSliceuCharV (const Slicer &ns, Array< uChar > *dataPtr)
virtual void | getColumnSliceShortV (const Slicer &ns, Array< Short > *dataPtr)
virtual void | getColumnSliceuShortV (const Slicer &ns, Array< uShort > *dataPtr)
virtual void | getColumnSliceIntV (const Slicer &ns, Array< Int > *dataPtr)
virtual void | getColumnSliceuIntV (const Slicer &ns, Array< uInt > *dataPtr)
virtual void | getColumnSliceInt64V (const Slicer &ns, Array< Int64 > *dataPtr)
virtual void | getColumnSlicefloatV (const Slicer &ns, Array< float > *dataPtr)
virtual void | getColumnSlicedoubleV (const Slicer &ns, Array< double > *dataPtr)
virtual void | getColumnSliceComplexV (const Slicer &ns, Array< Complex > *dataPtr)
virtual void | getColumnSliceDComplexV (const Slicer &ns, Array< DComplex > *dataPtr)
virtual void | getColumnSliceStringV (const Slicer &ns, Array< String > *dataPtr)
virtual void | putColumnSliceBoolV (const Slicer &ns, const Array< Bool > *dataPtr)
| Put the array values into the entire column.
virtual void | putColumnSliceuCharV (const Slicer &ns, const Array< uChar > *dataPtr)
virtual void | putColumnSliceShortV (const Slicer &ns, const Array< Short > *dataPtr)
virtual void | putColumnSliceuShortV (const Slicer &ns, const Array< uShort > *dataPtr)
virtual void | putColumnSliceIntV (const Slicer &ns, const Array< Int > *dataPtr)
virtual void | putColumnSliceuIntV (const Slicer &ns, const Array< uInt > *dataPtr)
virtual void | putColumnSliceInt64V (const Slicer &ns, const Array< Int64 > *dataPtr)
virtual void | putColumnSlicefloatV (const Slicer &ns, const Array< float > *dataPtr)
virtual void | putColumnSlicedoubleV (const Slicer &ns, const Array< double > *dataPtr)
virtual void | putColumnSliceComplexV (const Slicer &ns, const Array< Complex > *dataPtr)
virtual void | putColumnSliceDComplexV (const Slicer &ns, const Array< DComplex > *dataPtr)
virtual void | putColumnSliceStringV (const Slicer &ns, const Array< String > *dataPtr)
virtual void | getColumnSliceCellsBoolV (const RefRows &rownrs, const Slicer &ns, Array< Bool > *dataPtr)
| Get the array values in some cells of the column.
virtual void | getColumnSliceCellsuCharV (const RefRows &rownrs, const Slicer &ns, Array< uChar > *dataPtr)
virtual void | getColumnSliceCellsShortV (const RefRows &rownrs, const Slicer &ns, Array< Short > *dataPtr)
virtual void | getColumnSliceCellsuShortV (const RefRows &rownrs, const Slicer &ns, Array< uShort > *dataPtr)
virtual void | getColumnSliceCellsIntV (const RefRows &rownrs, const Slicer &ns, Array< Int > *dataPtr)
virtual void | getColumnSliceCellsuIntV (const RefRows &rownrs, const Slicer &ns, Array< uInt > *dataPtr)
virtual void | getColumnSliceCellsInt64V (const RefRows &rownrs, const Slicer &ns, Array< Int64 > *dataPtr)
virtual void | getColumnSliceCellsfloatV (const RefRows &rownrs, const Slicer &ns, Array< float > *dataPtr)
virtual void | getColumnSliceCellsdoubleV (const RefRows &rownrs, const Slicer &ns, Array< double > *dataPtr)
virtual void | getColumnSliceCellsComplexV (const RefRows &rownrs, const Slicer &ns, Array< Complex > *dataPtr)
virtual void | getColumnSliceCellsDComplexV (const RefRows &rownrs, const Slicer &ns, Array< DComplex > *dataPtr)
virtual void | getColumnSliceCellsStringV (const RefRows &rownrs, const Slicer &ns, Array< String > *dataPtr)
virtual void | putColumnSliceCellsBoolV (const RefRows &rownrs, const Slicer &ns, const Array< Bool > *dataPtr)
| Put the array values into some cells of the column.
virtual void | putColumnSliceCellsuCharV (const RefRows &rownrs, const Slicer &ns, const Array< uChar > *dataPtr)
virtual void | putColumnSliceCellsShortV (const RefRows &rownrs, const Slicer &ns, const Array< Short > *dataPtr)
virtual void | putColumnSliceCellsuShortV (const RefRows &rownrs, const Slicer &ns, const Array< uShort > *dataPtr)
virtual void | putColumnSliceCellsIntV (const RefRows &rownrs, const Slicer &ns, const Array< Int > *dataPtr)
virtual void | putColumnSliceCellsuIntV (const RefRows &rownrs, const Slicer &ns, const Array< uInt > *dataPtr)
virtual void | putColumnSliceCellsInt64V (const RefRows &rownrs, const Slicer &ns, const Array< Int64 > *dataPtr)
virtual void | putColumnSliceCellsfloatV (const RefRows &rownrs, const Slicer &ns, const Array< float > *dataPtr)
virtual void | putColumnSliceCellsdoubleV (const RefRows &rownrs, const Slicer &ns, const Array< double > *dataPtr)
virtual void | putColumnSliceCellsComplexV (const RefRows &rownrs, const Slicer &ns, const Array< Complex > *dataPtr)
virtual void | putColumnSliceCellsDComplexV (const RefRows &rownrs, const Slicer &ns, const Array< DComplex > *dataPtr)
virtual void | putColumnSliceCellsStringV (const RefRows &rownrs, const Slicer &ns, const Array< String > *dataPtr)
Protected Member Functions inherited from casacore::DataManagerColumn
virtual void | getInt64 (rownr_t rownr, Int64 *dataPtr)
virtual void | getOther (rownr_t rownr, void *dataPtr)
| This function is the get for all non-standard data types.
virtual void | putInt64 (rownr_t rownr, const Int64 *dataPtr)
virtual void | putOther (rownr_t rownr, const void *dataPtr)
| This function is the put for all non-standard data types.
void | getScalarColumnBase (ArrayBase &dataPtr)
| The default implementations of get and put functions.
void | putScalarColumnBase (const ArrayBase &dataPtr)
void | getScalarColumnCellsBase (const RefRows &rownrs, ArrayBase &dataPtr)
void | putScalarColumnCellsBase (const RefRows &rownrs, const ArrayBase &dataPtr)
void | getArrayColumnBase (ArrayBase &data)
void | putArrayColumnBase (const ArrayBase &data)
void | getArrayColumnCellsBase (const RefRows &rownrs, ArrayBase &data)
void | putArrayColumnCellsBase (const RefRows &rownrs, const ArrayBase &data)
void | getSliceBase (rownr_t rownr, const Slicer &slicer, ArrayBase &data)
void | putSliceBase (rownr_t rownr, const Slicer &slicer, const ArrayBase &data)
void | getColumnSliceBase (const Slicer &slicer, ArrayBase &data)
void | putColumnSliceBase (const Slicer &slicer, const ArrayBase &data)
void | getColumnSliceCellsBase (const RefRows &rownrs, const Slicer &slicer, ArrayBase &data)
void | putColumnSliceCellsBase (const RefRows &rownrs, const Slicer &slicer, const ArrayBase &data)

## Detailed Description

Base class for columns of the StokesIStMan.

Author
  André Offringa

Definition at line 91 of file StokesIStManColumn.h.

## Constructor & Destructor Documentation

## StokesIStManColumn() [1/2]

casacore::StokesIStManColumn::StokesIStManColumn | ( | StokesIStMan & | parent,
|  | BufferedColumnarFile & | file,
|  | casacore::DataType | dtype )

inline explicit

Constructor, to be overloaded by subclass.

Parameters

  parent | The parent stman to which this column belongs.
  dtype | The column's type as defined by Casacore.

Definition at line 98 of file StokesIStManColumn.h.

References casacore::StManColumnBase::dtype(), file_, parent_, and casacore::StManColumn::StManColumn().

Referenced by operator=(), and StokesIStManColumn().

## StokesIStManColumn() [2/2]

casacore::StokesIStManColumn::StokesIStManColumn | ( | const StokesIStManColumn & | source | ) |

private delete

References StokesIStManColumn().

## Member Function Documentation

## getArrayBoolV()

void casacore::StokesIStManColumn::getArrayBoolV | ( | casacore::uInt | rownr,
|  | casacore::Array< casacore::Bool > * | dataPtr )

inline final virtual

Get the array value in the given row.

The array pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn get function). The default implementations throw an exception.

Reimplemented from casacore::StManColumn.

Definition at line 141 of file StokesIStManColumn.h.

References getArrayGeneric().

## getArrayComplexV()

void casacore::StokesIStManColumn::getArrayComplexV | ( | casacore::uInt | rowNr,
|  | casacore::Array< casacore::Complex > * | dataPtr )

inline final

Read the values for a particular row.

Parameters

  rowNr | The row number to get the values for.
  dataPtr | The array of values.

Definition at line 131 of file StokesIStManColumn.h.

References getArrayGeneric().

## getArrayfloatV()

void casacore::StokesIStManColumn::getArrayfloatV | ( | casacore::uInt | rowNr,
|  | casacore::Array< float > * | dataPtr )

inline final virtual

Reimplemented from casacore::StManColumn.

Definition at line 136 of file StokesIStManColumn.h.

References getArrayGeneric().

## getArrayGeneric()

template<typename T>

void casacore::StokesIStManColumn::getArrayGeneric | ( | casacore::uInt | rowNr,
|  | casacore::Array< T > * | dataPtr )

inline private

Definition at line 189 of file StokesIStManColumn.h.

References column_offset_, casacore::ExpandFromStokesI(), file_, casacore::Array< T >::getStorage(), casacore::Array< T >::putStorage(), and shape_.

Referenced by getArrayBoolV(), getArrayComplexV(), and getArrayfloatV().

## getStoredSizeInBytes()

uint64_t casacore::StokesIStManColumn::getStoredSizeInBytes | ( |  | ) | const

inline

Definition at line 175 of file StokesIStManColumn.h.

References casacore::StManColumnBase::dtype(), and shape_.

## isWritable()

casacore::Bool casacore::StokesIStManColumn::isWritable | ( |  | ) | const

inline final virtual

Whether this column is writable.

Returns
  `true`

Reimplemented from casacore::DataManagerColumn.

Definition at line 106 of file StokesIStManColumn.h.

## operator=()

void casacore::StokesIStManColumn::operator= | ( | const StokesIStManColumn & | source | ) |

private delete

References StokesIStManColumn().

## putArrayBoolV()

void casacore::StokesIStManColumn::putArrayBoolV | ( | casacore::uInt | rownr,
|  | const casacore::Array< casacore::Bool > * | dataPtr )

inline final virtual

Put the array value into the given row.

The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn put function). The default implementations throw an exception.

Reimplemented from casacore::StManColumn.

Definition at line 169 of file StokesIStManColumn.h.

References putArrayGeneric().

## putArrayComplexV()

void casacore::StokesIStManColumn::putArrayComplexV | ( | casacore::uInt | rowNr,
|  | const casacore::Array< casacore::Complex > * | dataPtr )

inline final

Write values into a particular row.

Parameters

  rowNr | The row number to write the values to.
  dataPtr | The data pointer.

Definition at line 151 of file StokesIStManColumn.h.

References putArrayGeneric().

## putArrayDComplexV()

void casacore::StokesIStManColumn::putArrayDComplexV | ( | casacore::uInt | rowNr,
|  | const casacore::Array< casacore::DComplex > * | dataPtr )

inline final

Definition at line 156 of file StokesIStManColumn.h.

References putArrayGeneric().

## putArraydoubleV()

void casacore::StokesIStManColumn::putArraydoubleV | ( | casacore::uInt | rowNr,
|  | const casacore::Array< double > * | dataPtr )

inline final virtual

Reimplemented from casacore::StManColumn.

Definition at line 161 of file StokesIStManColumn.h.

References putArrayGeneric().

## putArrayfloatV()

void casacore::StokesIStManColumn::putArrayfloatV | ( | casacore::uInt | rowNr,
|  | const casacore::Array< float > * | dataPtr )

inline final virtual

Reimplemented from casacore::StManColumn.

Definition at line 165 of file StokesIStManColumn.h.

References putArrayGeneric().

## putArrayGeneric()

template<typename T>

void casacore::StokesIStManColumn::putArrayGeneric | ( | casacore::uInt | rowNr,
|  | const casacore::Array< T > * | dataPtr )

inline private

Definition at line 199 of file StokesIStManColumn.h.

References buffer_, column_offset_, file_, casacore::Array< T >::freeStorage(), casacore::Array< T >::getStorage(), shape_, and casacore::TransformToStokesI().

Referenced by putArrayBoolV(), putArrayComplexV(), putArrayDComplexV(), putArraydoubleV(), and putArrayfloatV().

## setOffset()

void casacore::StokesIStManColumn::setOffset | ( | uint64_t | column_offset | ) |

inline

Definition at line 174 of file StokesIStManColumn.h.

References column_offset_.

## setShapeColumn()

void casacore::StokesIStManColumn::setShapeColumn | ( | const casacore::IPosition & | shape | ) |

inline final virtual

Set the dimensions of values in this column.

Reimplemented from casacore::DataManagerColumn.

Definition at line 109 of file StokesIStManColumn.h.

References shape(), shape_, and updateStride().

## shape() [1/3]

const casacore::IPosition & casacore::StokesIStManColumn::shape | ( |  | ) | const

inline

Definition at line 124 of file StokesIStManColumn.h.

References shape_.

## shape() [2/3]

casacore::IPosition casacore::StokesIStManColumn::shape | ( | casacore::rownr_t | rownr | ) |

inline final virtual

Get the shape of the item in the given row.

By default it returns a zero-length IPosition (for a scalar value).

Reimplemented from casacore::StManColumn.

Definition at line 123 of file StokesIStManColumn.h.

References shape_.

## shape() [3/3]

casacore::IPosition casacore::StokesIStManColumn::shape | ( | casacore::uInt |  | ) |

inline final virtual

Get the dimensions of the values in a particular row.

Parameters

  rownr | The row to get the shape for.

Reimplemented from casacore::StManColumn.

Definition at line 122 of file StokesIStManColumn.h.

References shape_.

Referenced by setShapeColumn().

## updateStride()

void casacore::StokesIStManColumn::updateStride | ( |  | ) |

inline private

Definition at line 223 of file StokesIStManColumn.h.

References parent_.

Referenced by setShapeColumn().

## Member Data Documentation

## buffer_

std::vector<char> casacore::StokesIStManColumn::buffer_

private

Definition at line 215 of file StokesIStManColumn.h.

Referenced by putArrayGeneric().

## column_offset_

uint64_t casacore::StokesIStManColumn::column_offset_

private

Definition at line 214 of file StokesIStManColumn.h.

Referenced by getArrayGeneric(), putArrayGeneric(), and setOffset().

## file_

BufferedColumnarFile& casacore::StokesIStManColumn::file_

private

Definition at line 212 of file StokesIStManColumn.h.

Referenced by getArrayGeneric(), putArrayGeneric(), and StokesIStManColumn().

## parent_

StokesIStMan& casacore::StokesIStManColumn::parent_

private

Definition at line 211 of file StokesIStManColumn.h.

Referenced by StokesIStManColumn(), and updateStride().

## shape_

IPosition casacore::StokesIStManColumn::shape_

private

Definition at line 213 of file StokesIStManColumn.h.

Referenced by getArrayGeneric(), getStoredSizeInBytes(), putArrayGeneric(), setShapeColumn(), shape(), shape(), and shape().

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

- tables/AlternateMans/StokesIStManColumn.h