Go to the documentation of this file.
28 #ifndef TABLES_TILEDDATASTMAN_H
29 #define TABLES_TILEDDATASTMAN_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/DataMan/TiledStMan.h>
34 #include <casacore/casa/Containers/Block.h>
35 #include <casacore/casa/BasicSL/String.h>
445 uInt incrInLastDim)
const;
A Vector of integers, for indexing into Array<T> objects.
AipsIO is the object persistency mechanism of Casacore
Abstract base class for a data manager.
TiledDataStMan(const String &hypercolumnName, const Record &spec)
TiledDataStMan(const String &hypercolumnName, uInt maximumCacheSize=0)
Create a TiledDataStMan storage manager for the hypercolumn with the given name.
DataManager * clone() const
Clone this object.
Tiled hypercube in a table.
virtual void create(uInt nrrow)
Let the storage manager create files as needed for a new table.
virtual void readHeader(uInt nrrow, Bool firstTime)
Read the header info.
uInt maximumCacheSize() const
Get the current maximum cache size (in MiB (MibiByte)).
void addHypercube(const IPosition &cubeShape, const IPosition &tileShape, const Record &values)
Add a hypercube.
TiledDataStMan & operator=(const TiledDataStMan &)
Forbid assignment.
Tiled Data Storage Manager.
Base class for Tiled Storage Manager classes.
String dataManagerType() const
Get the type name of the data manager (i.e.
Give access to some TiledDataStMan functions.
uInt nrrowLast_p
The row number since the last hypercube extension.
virtual TSMCube * getHypercube(uInt rownr, IPosition &position)
Get the hypercube in which the given row is stored.
static DataManager * makeObject(const String &dataManagerType, const Record &spec)
Make the object from the type name string.
virtual TSMCube * getHypercube(uInt rownr)
Get the hypercube in which the given row is stored.
TiledDataStMan()
Create a TiledDataStMan.
this file contains all the compiler specific defines
void addRow(uInt nrrow)
Add rows to the storage manager.
virtual Bool flush(AipsIO &, Bool fsync)
Flush and optionally fsync the data.
void extendHypercube(uInt incrInLastDim, const Record &values)
Extend the hypercube with the given number of elements in the last dimension.
Block< uInt > rowMap_p
The map of row number to cube and position in cube.
TiledDataStMan(const TiledDataStMan &)
Forbid copy constructor.
void updateRowMap(uInt cubeNr, uInt incrInLastDim)
Update the map of row numbers to cube number plus offset.
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.
A hierarchical collection of named fields of various types.
uInt nrUsedRowMap_p
The nr of elements used in the map blocks.
void checkNrrow(const IPosition &cubeShape, uInt incrInLastDim) const
Check if the table is large enough to hold this hypercube extension.