28 #ifndef TABLES_TABLECACHE_H
29 #define TABLES_TABLECACHE_H
112 void remove (
const String& tableName);
std::map< String, void * > tableMap_p
A 1-D Specialization of the Array class.
Class defining a plain regular table.
uInt nAutoLocks()
Determine the number of locked tables opened with the AutoLock option (Locked table means locked for ...
Vector< String > getLockedTables(FileLocker::LockType, int lockOption)
Get the names of tables locked in this process.
TableInfo tableInfo(const String &tableName)
Get the table info of the table with the given name.
PlainTable * getTable(const String &tableName) const
Get the table without doing a mutex lock (for operator()).
PlainTable * lookCache(const String &name, int tableOption, const TableLock &tableInfo)
Look in the cache if the table is already open.
Vector< String > getTableNames() const
Get the names of the tables in the cache.
void define(const String &tableName, PlainTable *)
Add an open table to the cache.
void flushTable(const String &tableName, Bool fsync, Bool recursive)
Flush a possibly cached Table.
bool Bool
Define the standard types used by Casacore.
Class to hold table lock options.
TableCache & operator=(const TableCache &)
The assignment operator is forbidden.
void rename(const String &newName, const String &oldName)
Rename an open table.
PlainTable * operator()(const String &tableName) const
Try to find a table with the given name in the cache.
TableCache()
Construct an empty cache of open tables.
String: the storage and methods of handling collections of characters.
LockType
Define the possible lock types.
LatticeExprNode all(const LatticeExprNode &expr)
void relinquishAutoLocks(Bool all)
Unlock locked tables opened with the AutoLock option.