28 #ifndef TABLES_NULLTABLE_H
29 #define TABLES_NULLTABLE_H
112 Bool byColumn)
const;
132 Bool determineOrder)
const;
virtual void reopenRW()
All functions throw a "null table" exception.
A 1-D Specialization of the Array class.
virtual void renameColumn(const String &newName, const String &oldName)
Rename a column.
virtual uInt getModifyCounter() const
Get the modify counter.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Try to lock the table for read or write access.
int tableOption() const
Get the table option.
virtual Vector< uInt > rowNumbers() const
Get a vector of row numbers.
virtual TableRecord & keywordSet()
Get readonly access to the table keyword set.
virtual void removeRow(uInt rownr)
Remove rows.
virtual BaseTable * doSort(PtrBlock< BaseColumn * > &, const Block< CountedPtr< BaseCompare > > &, const Block< Int > &sortOrder, int sortOption)
Do the actual sort.
Class indicating a null Table object.
virtual void unlock()
Unlock the table.
Envelope class for the description of a table column.
virtual Bool canAddRow() const
Test if it is possible to add a row to this table.
virtual Bool isNull() const
The table is a null table.
virtual Bool isWritable() const
Test if this table is writable.
virtual void flush(Bool fsync, Bool recursive)
Flush the table, i.e.
virtual DataManager * findDataManager(const String &name, Bool byColumn) const
Find the data manager with the given name or for the given column.
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
virtual void resync()
Resync the Table object with the table file.
virtual BaseColumn * getColumn(uInt columnIndex) const
Get a column object using its index.
virtual Bool asBigEndian() const
Is the table stored in big or little endian format?
Options defining how table files are organized.
virtual BaseTable * root()
Get pointer to root table (i.e.
virtual TableDesc actualTableDesc() const
Get the actual table description.
virtual void removeColumn(const Vector< String > &columnNames)
Remove columns.
virtual Bool canRemoveColumn(const Vector< String > &columnNames) const
Test if columns can be removed.
virtual Bool adjustRownrs(uInt nrrow, Vector< uInt > &rownrs, Bool determineOrder) const
Adjust the row numbers to be the actual row numbers in the root table.
virtual void renameSubTables(const String &newName, const String &oldName)
Rename the subtables (used by rename function).
NullTable()
Default constructor.
Referenced counted pointer for constant data.
Abstract base class for tables.
virtual Vector< uInt > * rowStorage()
By the default the table cannot return the storage of rownrs.
virtual Bool isMultiUsed(Bool checkSubTable) const
Is the table in use (i.e.
virtual void mergeLock(const TableLock &lockOptions)
Merge the given lock info with the existing one.
virtual Bool hasLock(FileLocker::LockType) const
Has this process the read or write lock, thus can the table be read or written safely?
virtual void addRow(uInt nrrow, Bool initialize)
Add one or more rows and possibly initialize them.
virtual const StorageOption & storageOption() const
Get the storage option used for the table.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual Bool canRemoveRow() const
Test if it is possible to remove a row from this table.
Class to hold table lock options.
A drop-in replacement for Block<T*>.
A hierarchical collection of named fields of various types.
Base error class for storage manager.
virtual Bool rowOrder() const
Tell if the table is in row order.
virtual Bool canRenameColumn(const String &columnName) const
Test if a column can be renamed.
Abstract base class for a data manager.
virtual void renameHypercolumn(const String &newName, const String &oldName)
Rename a hypercolumn.
String: the storage and methods of handling collections of characters.
Define the structure of a Casacore table.
virtual void deepCopy(const String &newName, const Record &dataManagerInfo, const StorageOption &, int tableOption, Bool valueCopy, int endianFormat, Bool noRows) const
LockType
Define the possible lock types.
const TableDesc & tableDesc() const
Get the table description.
virtual Record dataManagerInfo() const
Get the data manager info.
TableError makeError(const String &name) const
Make an exception message with the name of the function.
virtual void addColumn(const ColumnDesc &columnDesc, Bool addToParent)
Add one or more columns to the table.
NullTable & operator=(const NullTable &)
Assignment is forbidden, because copying a table requires some more knowledge (like table name of res...
virtual TableRecord & rwKeywordSet()
Get read/write access to the table keyword set.
virtual const TableLock & lockOptions() const
Get the locking info.
Abstract base class for a table column.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.