![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h"
ReVarPCifArray<int> * ISTable::CreateIndex(CifString IndexName,
ReVarPCifArray<int> & ListOfCols);
ReVarPCifArray<int> * ISTable::CreateIndex(CifString IndexName,
ReVarCifArray<CifString> & ListOfNames);
#include "ISTable.h"
ISTable s("MyTable");
...
ReVarPCifArray<int> list;
list.Add(0); list.Add(2);
s->CreateIndex("index0",list);
CreateIndex creates an index for the table. Once the index is created, it can be used for table searching.
IndexName | Name of an index that is created. |
ListOfCols | An array of column indices indicating which column is part of an index |
IndexName | Name of an index that is created. |
ListOfNames | An array of column names indicating which column is part of an index |
A negative value in errCode indicates an error or warning.
See also: | DeleteIndex |
---|---|
RebuildIndex | |
RebuildIndices |