![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h"
ReVarCifArray<CifString> * ISTable::GetColumn(int colIndex);
#include "ISTable.h"
extern void processColumn(ReVarCifArray<CifString> *);
ISTable * pTable = new ISTable();
ReVarCifArray<CifString> * col;
... // fill up table
for (int i = 0; i < pTable->GetNumColumns(); i++) {
col = pTable->GetColumn(i);
if (col) {
processColumn(col);
pTable->FillColumn(*col, i);
}
}
GetColumn returns an array of strings of the data of a column.
colIndex | The index of the column to be retrieved. |
A pointer to a ReVarCifArray<CifString> that contains the data of the specified column.
A NULL value will be returned if an error occurs.
See also: | GetSubColumn |
---|