![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h"
int ISTable::AddElementToRow(CifString & theElement, int rowIndex);
#include "ISTable.h"
ISTable * pTable = new ISTable();
CifString cs;
int errCode = 0, currentRow;
... // table initialization
while (tokenizer.hasMoreTokens()) {
cs = (char *) tokenizer.GetNextToken();
pTable->AddElementToRow(cs, currentRow);
cs.Clear();
}
AddElementToRow adds one CifString to a specified row. The column where the string is placed is determined by looking for the last null string and then placing the new element to the right.
theElement | The CifString to add to the row. |
rowIndex | The index of the row where the CifString is to be added. Keep in mind that the first row is row 0. |
A negative value indicates an error or warning.
None |