28 #ifndef TABLES_TABLECACHE_H
29 #define TABLES_TABLECACHE_H
42 template<
class T>
class Vector;
112 void remove (
const String& tableName);
std::map< String, void * > tableMap_p
A 1-D Specialization of the Array class.
std::vector< double > Vector
Class defining a plain regular table.
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
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.
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.
Wrapper around a pthreads mutex.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.