28 #ifndef TABLES_MSMBASE_H
29 #define TABLES_MSMBASE_H
157 const String& dataTypeID);
160 const String& dataTypeID);
163 const String& dataTypeID);
DataManagerColumn * reallocateColumn(DataManagerColumn *column)
Reallocate the column object if it is part of this data manager.
void removeColumn(DataManagerColumn *)
Delete a column.
static DataManager * makeObject(const String &dataManagerType, const Record &spec)
Make the object from the string.
String dataManagerName() const
Get the name given to this storage manager.
void removeRow(uInt rownr)
Delete a row from all columns.
String stmanName_p
Name given by user to this storage manager.
Bool canRemoveColumn() const
Does the storage manager allow to delete columns? (yes)
AipsIO is the object persistency mechanism of Casacore.
Abstract base class for a column in a data manager.
DataManagerColumn * makeDirArrColumn(const String &name, int dataType, const String &dataTypeID)
Create a direct array column.
DataManager * clone() const
Clone this object.
Base class for memory-based table storage manager class.
uInt nrow() const
Get the nr of rows in this storage manager.
virtual void prepare()
Let the data manager initialize itself further.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
PtrBlock< MSMColumn * > colSet_p
The assembly of all columns.
virtual void create(uInt nrrow)
Let the storage manager create the nr of rows needed.
virtual Bool flush(AipsIO &, Bool fsync)
Flush and optionally fsync the data.
Bool canReallocateColumns() const
The MemoryStMan wants to do reallocateColumn.
void addColumn(DataManagerColumn *)
Add a column.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
A drop-in replacement for Block<T*>.
virtual void resync(uInt nrrow)
Resync the storage manager with the new file contents.
uInt nrrow_p
The number of rows in the columns.
virtual void open(uInt nrrow, AipsIO &)
Open the storage manager file for an existing table.
Bool canRemoveRow() const
Does the storage manager allow to delete rows? (yes)
Abstract base class for a data manager.
virtual void deleteManager()
The data manager will be deleted (because all its columns are requested to be deleted).
void addRow(uInt nrrow)
Add rows to all columns.
Bool canAddColumn() const
Does the storage manager allow to add columns? (yes)
String: the storage and methods of handling collections of characters.
DataManagerColumn * makeIndArrColumn(const String &name, int dataType, const String &dataTypeID)
Create an indirect array column.
DataManagerColumn * makeScalarColumn(const String &name, int dataType, const String &dataTypeID)
Create a column in the storage manager on behalf of a table column.
String dataManagerType() const
Get the type name of the data manager (i.e.
Bool canAddRow() const
Does the storage manager allow to add rows? (yes)
uInt nrrowCreate_p
The number of rows in create().
MSMBase()
Create a memory storage manager.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.