28 #ifndef TABLES_TABLEKEYWORD_H
29 #define TABLES_TABLEKEYWORD_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/TableAttr.h>
34 #include <casacore/casa/BasicSL/String.h>
195 const String& oldParentName);
String: the storage and methods of handling collections of characters.
Bool empty() const
Test for empty.
const String & name() const
Get info.
Bool conform(const Table &that) const
const String & tableName() const
Get the name of the table.
void close() const
Close the table.
TableKeyword & operator=(const TableKeyword &that)
Assignment (leaves tableDescName_p untouched).
TableKeyword(const String &tableDescName)
Construct a TableKeyword with the given tableDescName.
String tableName(const TableAttr &parentAttr) const
void setTableAttributes(const TableAttr &attr)
Set the table attributes.
Bool isMultiUsed(Bool checkSubTables) const
Is the table in use in another process? If checkSubTables is set, it is also checked if a subtable is...
Bool conform(const TableKeyword &that) const
Test if the table in other conforms this table keyword.
void renameTable(const String &newParentName, const String &oldParentName)
Rename the table if its path contains the old parent table name.
String tableName(const String &parentName) const
Get the name of the table relative to parent table.
void setRW()
Set the keyword to read/write access.
void set(const String &name, const TableAttr &parentAttr)
Set the name of the table and the writable switch.
const TableAttr & tableAttributes() const
Get the table attributes.
TableKeyword(const Table &table, const String &tableDescName)
Construct a TableKeyword from a Table.
Table table(const TableLock *lockOptions=0) const
Get the table.
void flush(Bool fsync) const
Flush and optionally fsync the table.
Bool isFixed() const
Has the table a fixed description name? It has when its description name is not empty.
TableKeyword(const TableKeyword &that)
Copy constructor (full copy semantics).
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.