casa
$Rev:20696$
|
NOTE: the TBTableDriverXML has been disabled. More...
#include <TBTableDriver.h>
Public Member Functions | |
TBTableDriverXML (TableParams *tp, TBTable *table) | |
Constructor that takes table parameters. | |
~TBTableDriverXML () | |
Result | loadRows (int start, int num, bool full, vector< String > *fields, bool parsedata, ProgressHelper *progressPanel) |
Implements TBTableDriver::loadRows(). | |
void | loadArray (TBArrayData *d, unsigned int row, unsigned int col) |
loadArray() must be implemented by any subclass. | |
vector< int > | dimensionsOf (unsigned int col) |
Implements TBTableDriver::dimensionsOf(). | |
Result | editData (unsigned int row, unsigned int col, TBData *newVal, vector< int > *d=NULL) |
editData() must be implemented by any subclass. | |
int | totalRowsOf (String location) |
Implements TBTableDriver::totalRowsOf(). | |
void | setPrintDebug (bool pdb) |
Overrides TBTableDriver::setPrintDebug(). | |
Result | insertRows (int n) |
Implements TBTableDriver::insertRows(). | |
Result | deleteRows (vector< int > r) |
Implements TBTableDriver::deleteRows(). | |
Private Attributes | |
TBParser * | parser |
XML parser. |
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 273 of file TBTableDriver.h.
casa::TBTableDriverXML::TBTableDriverXML | ( | TableParams * | tp, |
TBTable * | table | ||
) |
Constructor that takes table parameters.
Result casa::TBTableDriverXML::deleteRows | ( | vector< int > | r | ) | [virtual] |
Implements TBTableDriver::deleteRows().
Implements casa::TBTableDriver.
vector<int> casa::TBTableDriverXML::dimensionsOf | ( | unsigned int | col | ) | [virtual] |
Implements TBTableDriver::dimensionsOf().
Implements casa::TBTableDriver.
Result casa::TBTableDriverXML::editData | ( | unsigned int | row, |
unsigned int | col, | ||
TBData * | newVal, | ||
vector< int > * | d = NULL |
||
) | [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.
Result casa::TBTableDriverXML::insertRows | ( | int | n | ) | [virtual] |
Implements TBTableDriver::insertRows().
Implements casa::TBTableDriver.
void casa::TBTableDriverXML::loadArray | ( | TBArrayData * | d, |
unsigned int | row, | ||
unsigned int | col | ||
) | [virtual] |
loadArray() must be implemented by any subclass.
Loads the data into the given array at the given coordinates.
Implements casa::TBTableDriver.
Result casa::TBTableDriverXML::loadRows | ( | int | start, |
int | num, | ||
bool | full, | ||
vector< String > * | fields, | ||
bool | parsedata, | ||
ProgressHelper * | progressPanel | ||
) | [virtual] |
Implements TBTableDriver::loadRows().
Implements casa::TBTableDriver.
void casa::TBTableDriverXML::setPrintDebug | ( | bool | pdb | ) |
Overrides TBTableDriver::setPrintDebug().
Reimplemented from casa::TBTableDriver.
int casa::TBTableDriverXML::totalRowsOf | ( | String | location | ) | [virtual] |
Implements TBTableDriver::totalRowsOf().
Implements casa::TBTableDriver.
TBParser* casa::TBTableDriverXML::parser [private] |
XML parser.
Definition at line 307 of file TBTableDriver.h.