![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h"
int ISTable::AddColumn(const char * newColumnName,
char opts = DEFAULT_OPTIONS);
#include "ISTable.h"
ISTable * pTable = new ISTable();
pTable->AddColumn("NextToLastColumn");
pTable->AddColumn("LastColumn", ISTable::DT_STRING |
ISTable::CASE_SENSE | ISTable::W_SPACE_SENSE);
AddColumn appends a column to the table, but does not add data to the column yet. Use FillColumn to add data to the whole column.
newColumnName | The name of the new column. The column name must be unique to the table. |
opts | Sets the options for the column. These include the datatype, case sensitivity, and white space sensitivity for comparisions. Has a default value indicating a column of strings, with case and white space sensitivity. |
A negative value indicates an error or warning.
It is safe to use this method after index creation.
See also: | FillColumn |
---|---|
Column Option Constants |