casa
5.7.0-16
|
NOTE: the TBTableDriverXML has been disabled. More...
#include <TBTableDriver.h>
Public Member Functions | |
TBTableDriverXML (TableParams *tp, TBTable *table) | |
Constructor that takes table parameters. More... | |
~TBTableDriverXML () | |
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) |
loadArray() must be implemented by any subclass. 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) |
editData() must be implemented by any subclass. More... | |
int | totalRowsOf (casacore::String location) |
Implements TBTableDriver::totalRowsOf(). More... | |
void | setPrintDebug (bool pdb) |
Overrides TBTableDriver::setPrintDebug(). 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... | |
virtual bool | canRead ()=0 |
canRead() must be implemented by any subclass. More... | |
virtual bool | canWrite ()=0 |
canWrite() must be implemented by any subclass. More... | |
virtual bool | tryWriteLock ()=0 |
tryWriteLock() must be implemented by any subclass. More... | |
virtual bool | releaseWriteLock ()=0 |
releaseWriteLock() must be implemented by any subclass. More... | |
Private Attributes | |
TBParser * | parser |
XML parser. 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... | |
NOTE: the TBTableDriverXML has been disabled.
If it is to be used in the future, the problems with the new TBData infrastructure must be addressed.
Definition at line 274 of file TBTableDriver.h.
casa::TBTableDriverXML::TBTableDriverXML | ( | TableParams * | tp, |
TBTable * | table | ||
) |
Constructor that takes table parameters.
casa::TBTableDriverXML::~TBTableDriverXML | ( | ) |
|
virtual |
Implements TBTableDriver::deleteRows().
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::dimensionsOf().
Implements casa::TBTableDriver.
|
virtual |
editData() must be implemented by any subclass.
Updates the cell at the given coordinates to have the given value. If the data is an array, the array coordinates are provided in d. Returns the result of the operation.
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::insertRows().
Implements casa::TBTableDriver.
|
virtual |
loadArray() must be implemented by any subclass.
Loads the data into the given array at the given coordinates.
Implements casa::TBTableDriver.
|
virtual |
Implements TBTableDriver::loadRows().
Implements casa::TBTableDriver.
void casa::TBTableDriverXML::setPrintDebug | ( | bool | pdb | ) |
Overrides TBTableDriver::setPrintDebug().
|
virtual |
Implements TBTableDriver::totalRowsOf().
Implements casa::TBTableDriver.
|
private |
XML parser.
Definition at line 308 of file TBTableDriver.h.