![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h"
int ISTable::Diff(ISTable *sst);
#include <string.h>
#include <stdlib.h>
#include "ISTable.h"
ISTable * ss1 = new ISTable("MyTable1");
ISTable * ss2 = new ISTable("MyTable2");
... // add some columns and stuff
colName.Add("start_v");
ss1->CreateKey(colName);
ss2->PrintTable();
ss2->CreateKey(colName);
ss1->Diff(ss2);
...
}
Diff prints report about differences between two tables. The tables must have same key.
sst | Pointer to ISTable. |
A negative value means that an error has occured, i.e tables have different keys.
None |