![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h" const char ISTable::CASE_SENSE; const char ISTable::CASE_INSENSE; const char ISTable::W_SPACE_SENSE; const char ISTable::W_SPACE_SENSE; const char ISTable::DT_STRING; const char ISTable::DT_INTEGER; const char ISTable::DT_DOUBLE;
The first four constants are bitwise ORed together and passed as the ``options'' parameter to the table. They determine how string comparisions are done on a particular column.
The other three values are the values for the three supported primitive datatypes. You can bitwise OR these with the ``options''. They determine how values in a column get compared. The reason for this is illustrated by a simple example. Suppose the numbers 9.9 and 10.1 are in a column. If the datatype of the column is DT_STRING, 9.9 comes after 10.1. This is because 1 comes before 9. If the datatype was correctly assigned to DT_DOUBLE, 9.9 would come before 10.1.