Go to the documentation of this file.
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);
Bool isFixed() const
Has the table a fixed description name? It has when its description name is not empty.
void close() const
Close the table.
Bool empty() const
Test for empty.
Keyword value representing a table.
void set(const String &name, const TableAttr &parentAttr)
Set the name of the table and the writable switch.
String tableName(const String &parentName) const
Get the name of the table relative to parent table.
TableKeyword(const String &tableDescName)
Construct a TableKeyword with the given tableDescName.
TableKeyword(const TableKeyword &that)
Copy constructor (full copy semantics).
const String & name() const
Get info.
const String & tableName() const
Get the name of the table.
Main interface class to a read/write table.
Bool conform(const Table &that) const
TableKeyword(const Table &table, const String &tableDescName)
Construct a TableKeyword from a Table.
String tableName(const TableAttr &parentAttr) const
const TableAttr & tableAttributes() const
Get the table attributes.
TableKeyword & operator=(const TableKeyword &that)
Assignment (leaves tableDescName_p untouched).
void setRW()
Set the keyword to read/write access.
Class to hold table lock options.
this file contains all the compiler specific defines
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...
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
void flush(Bool fsync) const
Flush and optionally fsync the table.
Bool conform(const TableKeyword &that) const
Test if the table in other conforms this table keyword.
Some attributes of a table.
void renameTable(const String &newParentName, const String &oldParentName)
Rename the table if its path contains the old parent table name.
void setTableAttributes(const TableAttr &attr)
Set the table attributes.
Table table(const TableLock *lockOptions=0) const
Get the table.