Go to the documentation of this file.
28 #ifndef TABLES_TILEDCELLSTMAN_H
29 #define TABLES_TILEDCELLSTMAN_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/tables/DataMan/TiledStMan.h>
35 #include <casacore/casa/Arrays/IPosition.h>
36 #include <casacore/casa/BasicSL/String.h>
TiledCellStMan(const TiledCellStMan &)
Forbid copy constructor.
Abstract base class for a data manager.
TiledCellStMan & operator=(const TiledCellStMan &)
Forbid assignment.
TiledCellStMan(const String &hypercolumnName, const Record &spec)
virtual TSMCube * getHypercube(uInt rownr, IPosition &position)
Get the hypercube in which the given row is stored.
TiledCellStMan(const String &hypercolumnName, const IPosition &defaultTileShape, uInt maximumCacheSize=0)
Create a TiledDataStMan storage manager for the hypercolumn with the given name.
uInt maximumCacheSize() const
Get the current maximum cache size (in MiB (MibiByte)).
virtual void setShape(uInt rownr, TSMCube *hypercube, const IPosition &shape, const IPosition &tileShape)
Set the shape and tile shape of the hypercube.
virtual void create(uInt nrrow)
Let the storage manager create files as needed for a new table.
virtual IPosition defaultTileShape() const
Get the default tile shape.
String dataManagerType() const
Get the type name of the data manager (i.e.
void addRow(uInt nrrow)
Add rows to the storage manager.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
static DataManager * makeObject(const String &dataManagerType, const Record &spec)
Make the object from the type name string.
this file contains all the compiler specific defines
virtual void setupCheck(const TableDesc &tableDesc, const Vector< String > &dataNames) const
Check if the hypercolumn definition fits this storage manager.
virtual void readHeader(uInt nrrow, Bool firstTime)
Read the header info.
const IPosition & tileShape(uInt rownr) const
Get the tile shape of the data in the given row.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
virtual TSMCube * getHypercube(uInt rownr)
Get the hypercube in which the given row is stored.
virtual Bool flush(AipsIO &, Bool fsync)
Flush and optionally fsync the data.
DataManager * clone() const
Clone this object.
Bool canChangeShape() const
This tiled storage manager can handle changing array shapes.
IPosition defaultTileShape_p
TiledCellStMan()
Create a TiledCellStMan.