#include "ndb_cifparse.h"
int ndb_cif_read_file(CifHandle *cf,
FILE *fp);
ndb_cif_read_file reads an mmCIF data file into the CifHandle data structure specified by cf. All interaction with the data file takes place inside this function. Subsequent access to mmCIF data is managed by a set of methods that access memory resident data.
cf | pointer to the CifHandle data structure where the mmCIF data file is loaded |
fp | pointer to the file descriptor for the mmCIF input file |
Returns the number of data blocks in the input file or 0 for failure.
Function does provide new value to the cf.
See also: | ndb_cif_write_file |
---|