![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h"
int ISTable::GetCell(CifString & theCell, int colIndex,
int rowIndex);
#include "ISTable.h"
ISTable * pTable = new ISTable();
... // do table maniputation
// Clear all bad values in table
for (int i = 0; i < pTable->GetNumColumns(); i++) {
for (int j = 0; j < pTable->GetNumRows(); j++) {
CifString cs;
pTable->GetCell(cs, i, j);
if (!cs.Compare(BAD_VALUE))
pTable->ClearAt(i, j);
}
}
GetCell gets a copy of the CifString in a particular cell.
theCell | A CifString reference that is to contain the copied cell CifString. |
colIndex | The index of the column of the cell. |
rowIndex | The index of the row of the cell. |
A negative value indicates an error or warning.
None |