src/cmap_labels.h File Reference

Declaration of routines to parse and output map labels. More...

Go to the source code of this file.

Functions

int parse_maplabels (CMMFile *mfile)
int write_maplabels (const CMMFile *mfile)

Detailed Description

Declaration of routines to parse and output map labels.

Author:
Charles Ballard.

Function Documentation

int parse_maplabels ( CMMFile mfile  ) 

Internal: read the labels from file header and copy into char * array Called when the file is opened in read mode.

Parameters:
mfile (CMMFile *)
Returns:
1 on succes

References ccp4_file_raw_seek(), ccp4_file_readchar(), and float_uint_uchar::i.

int write_maplabels ( const CMMFile mfile  ) 

Internal: dump the labels char * array to file, offset at 224 bytes. Called when the file is opened or closed in write mode, immediately after the header is written.

Parameters:
mfile (const CMMFile *)
Returns:
1 on success, 0 on failure

References ccp4_file_writechar(), and float_uint_uchar::i.


Generated on 21 Feb 2010 for gpp4 by  doxygen 1.6.1