casa
5.7.0-16
|
TBTableDriver implementation that directly accesses the table on disk. More...
#include <TBTableDriver.h>
Public Member Functions | |
TBTableDriverDirect (TableParams *tp, TBTable *table) | |
Constructor that takes a table and its parameters. More... | |
virtual | ~TBTableDriverDirect () |
bool | canRead () |
Implements TBTableDriver::canRead(). More... | |
bool | canWrite () |
Implements TBTableDriver::canWrite(). More... | |
bool | tryWriteLock () |
Implements TBTableDriver::tryWriteLock(). More... | |
bool | releaseWriteLock () |
Implements TBTableDriver::releaseWriteLock(). More... | |
Result | loadRows (int start, int num, bool full, std::vector< casacore::String > *fields, bool parsedata, ProgressHelper *progressPanel) |
Implements TBTableDriver::loadRows(). More... | |
void | loadArray (TBArrayData *d, unsigned int row, unsigned int col) |
Implements TBTableDriver::loadArray(). More... | |
std::vector< int > | dimensionsOf (unsigned int col) |
Implements TBTableDriver::dimensionsOf(). More... | |
Result | editData (unsigned int row, unsigned int col, TBData *newVal, std::vector< int > *d=NULL) |
Implements TBTableDriver::editData(). More... | |
int | totalRowsOf (casacore::String location) |
Implements TBTableDriver::totalRowsOf(). More... | |
Result | insertRows (int n) |
Implements TBTableDriver::insertRows(). More... | |
Result | deleteRows (std::vector< int > r) |
Implements TBTableDriver::deleteRows(). More... | |
Public Member Functions inherited from casa::TBTableDriver | |
TBTableDriver (TableParams *tp, TBTable *table) | |
Constructor that takes the table and the table parameters. More... | |
virtual | ~TBTableDriver () |
void | setPrintDebug (bool pdb) |
Sets whether the driver should print debug information or not. More... | |
Static Public Member Functions | |
static std::vector< TBKeyword * > * | getKeywords (casacore::RecordInterface &kws) |
Converts keywords in a casacore::TableRecord to a vector of TBKeywords. More... | |
Private Attributes | |
casacore::Table | m_table |
Reference to table on disk. More... | |
Additional Inherited Members | |
Protected Attributes inherited from casa::TBTableDriver | |
casacore::String | location |
The location of the table. More... | |
bool & | insertRow |
Reference to the table's insertRow parameter. More... | |
bool & | removeRow |
Reference to the table's removeRow parameter. More... | |
std::vector< std::vector < TBData * > * > & | data |
Reference to the table's data parameter. More... | |
std::vector< TBField * > & | fields |
Reference to the table's fields parameter. More... | |
std::vector< TBKeyword * > & | keywords |
Reference to the table's keywords parameter. More... | |
std::vector< int > & | subtableRows |
Reference to the table's subtableRows parameter. More... | |
int & | totalRows |
Reference to the table's totalRows parameter. More... | |
int & | loadedRows |
Reference to the table's loadedRows parameter. More... | |
std::vector< bool > & | writable |
Reference to the table's writable parameter. More... | |
bool & | taql |
Reference to the table's taql parameter. More... | |
DriverParams * | dp |
Copy of the table's driver parameters. More... | |
bool | printdebug |
Indicates whether the driver should print debug information or not. More... | |
TBTable * | table |
Reference to the table. More... | |
TBTableDriver implementation that directly accesses the table on disk.
TBTableDriverDirect is a table driver that accesses the table on disk via the CASA tables code module. It is therefore faster than the XML driver and is the default for the table browser. See casa::Table.
Definition at line 202 of file TBTableDriver.h.
casa::TBTableDriverDirect::TBTableDriverDirect | ( | TableParams * | tp, |
TBTable * | table | ||
) |
Constructor that takes a table and its parameters.
|
virtual |
|
virtual |
Implements TBTableDriver::canRead().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::canWrite().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::deleteRows().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::dimensionsOf().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::editData().
Implements casa::TBTableDriver.
|
static |
Converts keywords in a casacore::TableRecord to a vector of TBKeywords.
|
virtual |
Implements TBTableDriver::insertRows().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::loadArray().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::loadRows().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::releaseWriteLock().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::totalRowsOf().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::tryWriteLock().
Implements casa::TBTableDriver.
|
private |
Reference to table on disk.
Definition at line 250 of file TBTableDriver.h.