RCSB PDB Protein Data Bank A Member of the wwPDB
An Information Portal to Biological Macromolecular Structures
PDB Home | Contact Us
next up previous contents
Next: RebuildIndices Up: Index Methods Previous: CreateIndex

RebuildIndex

NAME RebuildIndex

PROTOTYPE

#include "ISTable.h"

ReVarPCifArray<int> * ISTable::RebuildIndex(CifString IndexName);

EXAMPLE

#include "ISTable.h"

ISTable s("MyTable");
...

ReVarPCifArray<int> list;
list.Add(0); list.Add(2);

s->CreateIndex("index0",list);
...

s->RebuildIndex("index0");
PURPOSE

RebuildIndex rebuilds the index. This method should be used only if the index is corrupted.

RECEIVES

IndexName Name of an index that is rebuilt.

RETURN VALUE

A negative value in errCode indicates an error or warning.

REMARKS

See also: RebuildIndices



Olivera Tosic
6/12/2002

 

© RCSB PDB