Loading...
Searching...
No Matches
TableUtil.h File Reference
`#include <casacore/casa/aips.h>`
`#include <casacore/tables/Tables/Table.h>`
`#include <casacore/tables/Tables/TableLock.h>`
`#include <casacore/tables/DataMan/TSMOption.h>`
`#include <casacore/casa/Containers/Record.h>`
`#include <casacore/casa/Utilities/DataType.h>`

Go to the source code of this file.

## Namespaces

namespace | casacore
| this file contains all the compiler specific defines
namespace | casacore::TableUtil
| The TableUtil namespace contains several convenience functions operating on Table objects.

## Functions

Table | casacore::TableUtil::openTable (const String &tableName, Table::TableOption=Table::Old, const TSMOption &=TSMOption())
| Try to open a table.
Table | casacore::TableUtil::openTable (const String &tableName, const TableLock &lockOptions, Table::TableOption=Table::Old, const TSMOption &=TSMOption())
Table | casacore::TableUtil::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.
Table | casacore::TableUtil::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())
Bool | casacore::TableUtil::canDeleteTable (const String &tableName, Bool checkSubTables=False)
| Can the table be deleted?
Bool | casacore::TableUtil::canDeleteTable (String &message, const String &tableName, Bool checkSubTables=False, Bool splitColons=True)
Bool | casacore::TableUtil::canDeleteSubTable (String &message, const Table &parent, const String &subtableName, Bool checkSubTables=False)
void | casacore::TableUtil::deleteTable (const String &tableName, Bool checkSubTables=False)
| Delete the table.
void | casacore::TableUtil::deleteSubTable (Table &parent, const String &subtableName, Bool checkSubTables=False)
rownr_t | casacore::TableUtil::getLayout (TableDesc &desc, const String &tableName)
| Return the layout of a table (i.e.
TableInfo | casacore::TableUtil::tableInfo (const String &tableName)
| Get the table info of the table with the given name.
String | casacore::TableUtil::getFullName (const String &tableName)
| Get the full name (absolute path) of the given table name, which can be a subtable specification using ::.
std::pair< Table, String > | casacore::TableUtil::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.