RCSB PDB Protein Data Bank A Member of the wwPDB
An Information Portal to Biological Macromolecular Structures
PDB Home | Contact Us
next up previous contents
Next: RemoveRow Up: Row methods Previous: ClearRow

DeleteRow

NAME DeleteRow

PROTOTYPE

#include "ISTable.h"
int ISTable::DeleteRow(int rowIndex);

EXAMPLE

#include "ISTable.h"
...
ISTable * pTable = new ISTable();

... // do table maniputation 

// delete the first 1/2 rows
for (int i = 0; i < (pTable->GetNumRows() / 2); i++) {
  pTable->DeleteRow(i);
}
PURPOSE

DeleteRow will remove the data from a row, and then the row itself, but only logicaly. Row is still in memory, marked as deleted.

RECEIVES

rowIndex The index of the row to be deleted.

RETURN VALUE

A negative value indicates an error or warning.

REMARKS

See also: ClearRow
  RemoveRow
  CompressTable



Olivera Tosic
6/12/2002

 

© RCSB PDB