28 #ifndef TABLES_STMANAIPSIO_H
29 #define TABLES_STMANAIPSIO_H
272 const String& dataTypeID);
275 const String& dataTypeID);
278 const String& dataTypeID);
virtual void getFile(rownr_t nrval, AipsIO &)
Read the column data from AipsIO.
virtual rownr_t open64(rownr_t nrrow, AipsIO &)
Open the storage manager file for an existing table and read in the data and let the StManColumnAipsI...
StManAipsIO & operator=(const StManAipsIO &)
Forbid assignment.
virtual void putData(void *datap, uInt nrval, AipsIO &)
Put the data (nrval elements) in an extension (starting at datap) into AipsIO.
DataManagerColumn * makeIndArrColumn(const String &name, int dataType, const String &dataTypeID)
Create an indirect array column.
virtual ~StManColumnAipsIO()
Frees up the storage.
AipsIO is the object persistency mechanism of Casacore.
Abstract base class for a column in a data manager.
virtual Bool flush(AipsIO &, Bool fsync)
Flush and optionally fsync the data.
virtual void getData(void *datap, uInt index, uInt nrval, AipsIO &, uInt version)
Get data (nrval elements) into an extension (starting at datap plus the given index).
Base class for memory-based table storage manager class.
virtual void create64(rownr_t nrrow)
Let the storage manager create files as needed for a new table.
virtual DataManager * clone() const
Clone this object.
StManAipsIO()
Create an AipsIO storage manager.
StManArrayFile * iosfile_p
The file containing the indirect arrays.
AipsIO table column storage manager class.
virtual rownr_t resync64(rownr_t nrrow)
Resync the storage manager with the new file contents.
StManColumnAipsIO(StManAipsIO *stMan, int dataType, Bool byPtr)
Create a column of the given type.
DataManagerColumn * makeDirArrColumn(const String &name, int dataType, const String &dataTypeID)
Create a direct array column.
virtual int dataType() const
Return the data type of the column.
virtual void deleteManager()
The data manager will be deleted (because all its columns are requested to be deleted).
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
static DataManager * makeObject(const String &dataManagerType, const Record &spec)
Make the object from the string.
Column in the Memory table storage manager class.
AipsIO table storage manager class.
uInt64 rownr_t
Define the type of a row number in a table.
virtual String dataManagerType() const
Get the type name of the data manager (i.e.
StManArrayFile * openArrayFile(ByteIO::OpenOption opt)
Open (if needed) the file for indirect arrays with the given mode.
OpenOption
Define the possible ByteIO open options.
uInt uniqueNr()
Get a unique column number for the column (it is only unique for this storage manager).
Abstract base class for a data manager.
StManColumnAipsIO & operator=(const StManColumnAipsIO &)
Forbid assignment.
virtual void initData(void *datap, rownr_t nrval)
initData does not do anything (only used in MSMColumn).
String: the storage and methods of handling collections of characters.
virtual void reopenRW()
Reopen the storage manager files for read/write.
DataManagerColumn * makeScalarColumn(const String &name, int dataType, const String &dataTypeID)
Create a column in the storage manager on behalf of a table column.
uInt uniqnr_p
Unique nr for column in this storage manager.
Read/write array in external format for a storage manager.
virtual void putFile(rownr_t nrval, AipsIO &)
Write the column data into AipsIO.