Go to the source code of this file.
Functions | |
int | parse_maplabels (CMMFile *mfile) |
int | write_maplabels (const CMMFile *mfile) |
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.
mfile | (CMMFile *) |
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.
mfile | (const CMMFile *) |
References ccp4_file_writechar(), and float_uint_uchar::i.