next up previous contents
Next: ndb_cif_init Up: Function Description Previous: ndb_cif_read_dic_with_format

ndb_cif_write_dic_by_format

NAME ndb_cif_write_dic_by_format

PROTOTYPE

#include "cifparse.h"

int ndb_cif_write_dic_by_format(CifHandle *dic,
                                FILE *fp
                                CifHandle *ddl,
                                CifHandle *format,
                                int implicit);
PURPOSE

ndb_cif_write_dic_by_format writes all of the data blocks loaded into the CifHande data structure specified by dic to the file pointed to by the input file descriptor. The structure of the save frames in the output file depends on the format. Also, if the parameter implicit = 1, then all columns are shown. If implicit = 0, then the implicit columns are avoided. Information about imlicitly generated column can be found in the CifHandle data structure specified by ddl.

RECEIVES

dic pointer to the CifHandle data structure where the dictionary/cif file is loaded
ddl pointer to the CifHandle data structure where the ddl/dictionary is loaded
fp pointer to the file descriptor for the output file
format pointer to the CifHandle data structure where the format is loaded
implicit identifies does imlicit columns will be print or not

RETURN VALUE

Returns the number of data blocks written or 0 for failure.

REMARKS

See also: ndb_cif_read_dic
  ndb_cif_read_dic_with_format


next up previous contents
Next: ndb_cif_init Up: Function Description Previous: ndb_cif_read_dic_with_format
Olivera Tosic
6/12/2002