An Information Portal to Biological Macromolecular Structures |
||
PDB Home | Contact Us | Software Tools Home | Dictionary Home | PDBML Home | |
#include "TblFileObj.h"
SSTable * TblFileObj::GetTable(const char *blockName,
const char *tableName)
#include "TblFileObj.h"
TblFileObj * fobjR = new TblFileObj("./test/TESTFILE1", WRITE_MODE);
s = new SSTable("MyTable");
FillTestTable(s, nRows, nCols, "ABCDEFGHIJKLMNOPQRSTUVWXYZ012345689");
fobjR->WriteTable(s,"MyDBlock","MyTable");
s = fobjR->GetTable("MyDBlock","MyTable"));
GetTable(const char *,const char ) gets pointer of table from TblFileObj with specified blockName and tableName, but actually copies the table.
*blockName | Name of datablock |
*tableName | Table name |
Returns poiter to SSTable.
This method copies the table and this pointer should be deleted.