next up previous contents
Next: BuildDictionaryList Up: General Methods Previous: CifBuilder

OpenFile

NAME OpenFile

PROTOTYPE

#include "CifBuilder.h"

int CifBuilder::OpenFile(char * filename);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb();

cb.OpenFile("mmCif96.psf");
PURPOSE

OpenFile opens the persistent storage file named by filename and associates the CifBuilder object with it

RECEIVES

filename the name of the persistent storage file to be used in building the cifobjs

RETURN VALUE

Returns an integer error code, with NO_ERROR upon success and a negative value for failure

REMARKS

See also: CifBuilder



Olivera Tosic
6/13/2002