An Information Portal to Biological Macromolecular Structures |
||
PDB Home | Contact Us | Software Tools Home | Dictionary Home | PDBML Home | |
#include "TblFileObj.h"
char ** TblFileObj::GetBlockNames(int num);
#include "TblFileObj.h"
int num;
char ** names;
TblFileObj * fobjR = new TblFileObj("./test/TESTFILE1", WRITE_MODE);
s = new SSTable("MyTable");
FillTestTable(s, nRows, nCols, "ABCDEFGHIJKLMNOPQRSTUVWXYZ012345689");
fobjR->WriteTable(s,"MyDBlock","MyTable");
names = fobjR->GetBlockNames(num);
for (int i=0; i<num; i++)
cout<<names[i]<<endl;
GetTableNames Gets all blocks names.
*blockName | Name of datablock |
Returns pointer to list of strings which represents a list of block names and number of blocks.
None