casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::TBTableDriverXML Class Reference

NOTE: the TBTableDriverXML has been disabled. More...

#include <TBTableDriver.h>

Inheritance diagram for casa::TBTableDriverXML:
casa::TBTableDriver

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

TBParserparser
 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...
 
DriverParamsdp
 Copy of the table's driver parameters. More...
 
bool printdebug
 Indicates whether the driver should print debug information or not. More...
 
TBTabletable
 Reference to the table. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

casa::TBTableDriverXML::TBTableDriverXML ( TableParams tp,
TBTable table 
)

Constructor that takes table parameters.

casa::TBTableDriverXML::~TBTableDriverXML ( )

Member Function Documentation

Result casa::TBTableDriverXML::deleteRows ( std::vector< int >  r)
virtual
std::vector<int> casa::TBTableDriverXML::dimensionsOf ( unsigned int  col)
virtual
Result casa::TBTableDriverXML::editData ( unsigned int  row,
unsigned int  col,
TBData newVal,
std::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
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,
std::vector< casacore::String > *  fields,
bool  parsedata,
ProgressHelper progressPanel 
)
virtual
void casa::TBTableDriverXML::setPrintDebug ( bool  pdb)
int casa::TBTableDriverXML::totalRowsOf ( casacore::String  location)
virtual

Member Data Documentation

TBParser* casa::TBTableDriverXML::parser
private

XML parser.

Definition at line 308 of file TBTableDriver.h.


The documentation for this class was generated from the following file: