Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Table::Cursor Class Reference

#include <Table.h>

Inherited by IndexKeyEqualCursor, KeyEqualCursor, and TableScanCursor.

List of all members.

Public Member Functions

virtual void setTuple (const char *tuple)=0
 Set the input tuple in this cursors internal context.
virtual void reset ()=0
 Point the cursor at the first valid row.
virtual bool avail () const =0
 Return true iff row_data will return data for a valid row.
virtual const char * rowData () const =0
 Returns a pointer to the data of the current row.
virtual void deleteRow () const =0
 Delete the current row from the database.
virtual string as_string () const
 String representation of this cursor.
virtual Cursoroperator++ ()=0
 Move forward to the next row.
virtual ~Cursor ()


Constructor & Destructor Documentation

virtual Table::Cursor::~Cursor  )  [virtual]
 


Member Function Documentation

virtual string Table::Cursor::as_string  )  const [virtual]
 

String representation of this cursor.

Reimplemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.

virtual bool Table::Cursor::avail  )  const [pure virtual]
 

Return true iff row_data will return data for a valid row.

Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.

virtual void Table::Cursor::deleteRow  )  const [pure virtual]
 

Delete the current row from the database.

Valid only if avail().

Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.

virtual Cursor& Table::Cursor::operator++  )  [pure virtual]
 

Move forward to the next row.

Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.

virtual void Table::Cursor::reset  )  [pure virtual]
 

Point the cursor at the first valid row.

This will need to be called before the cursor is valid after construction.

Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.

virtual const char* Table::Cursor::rowData  )  const [pure virtual]
 

Returns a pointer to the data of the current row.

Valid only if avail().

Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.

virtual void Table::Cursor::setTuple const char *  tuple  )  [pure virtual]
 

Set the input tuple in this cursors internal context.

Must be called before reset, if the cursor is going to use data from the input tuple.

Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.


The documentation for this class was generated from the following file:
Generated on Fri Nov 12 15:15:24 2004 for Borealis by doxygen 1.3.8