28 #ifndef TABLES_TABLEUTIL_H
29 #define TABLES_TABLEUTIL_H
141 const String& subtableName,
EndianFormat
Define the possible endian formats in which table data can be stored.
Main interface class to a read/write table.
Table createTable(const String &tableName, const TableDesc &, Table::TableOption, Table::TableType=Table::Plain, const StorageOption &=StorageOption(), const Record &dmInfo=Record(), const TableLock &lockOptions=TableLock(), rownr_t nrrow=0, Bool initialize=False, Table::EndianFormat=Table::AipsrcEndian, const TSMOption &=TSMOption())
Create a table with the given name and description.
std::pair< Table, String > findParentTable(const String &fullName, const TableLock &lockOptions=TableLock(), Table::TableOption option=Table::Old, const TSMOption &tsmOption=TSMOption())
Find the parent table of the last subtable in a table name containing :: to indicate subtables...
TableInfo tableInfo(const String &tableName)
Get the table info of the table with the given name.
rownr_t getLayout(TableDesc &desc, const String &tableName)
Return the layout of a table (i.e.
Options defining how table files are organized.
use endian format defined in the aipsrc variable table.endianformat If undefined, it defaults to Loca...
Table openTable(const String &tableName, Table::TableOption=Table::Old, const TSMOption &=TSMOption())
Try to open a table.
plain table (stored on disk)
Options for the Tiled Storage Manager Access.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
void deleteSubTable(Table &parent, const String &subtableName, Bool checkSubTables=False)
String getFullName(const String &tableName)
Get the full name (absolute path) of the given table name, which can be a subtable specification usin...
Table type, subtype and further info.
Class to hold table lock options.
Bool canDeleteSubTable(String &message, const Table &parent, const String &subtableName, Bool checkSubTables=False)
uInt64 rownr_t
Define the type of a row number in a table.
void deleteTable(const String &tableName, Bool checkSubTables=False)
Delete the table.
String: the storage and methods of handling collections of characters.
Define the structure of a Casacore table.
Bool canDeleteTable(const String &tableName, Bool checkSubTables=False)
Can the table be deleted? If true, function deleteTable can safely be called.
TableType
Define the possible table types.
TableOption
Define the possible options how a table can be opened.
Table createSubTable(Table &parent, const String &subtableName, const TableDesc &desc, Table::TableOption, const StorageOption &=StorageOption(), const Record &dmInfo=Record(), const TableLock &lockOptions=TableLock(), rownr_t nrrow=0, Bool initialize=False, Table::EndianFormat=Table::AipsrcEndian, const TSMOption &=TSMOption())