gpp4  1.3.1
cmap_labels.h
Go to the documentation of this file.
1 /*
2  cmap_labels.h: header for cmap_labels.c
3  Copyright (C) 2001 CCLRC, Charles Ballard
4 
5  This library is free software: you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation, either
8  version 3 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with This library. If not, see
17  <http://www.gnu.org/licenses/>.
18 
19 */
20 
26 #ifndef __GUARD_MAPLIB_LABEL
27 #define __GUARD_MAPLIB_LABEL
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 int parse_maplabels(CMMFile *mfile);
34 int write_maplabels(const CMMFile *mfile);
35 
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* __GUARD_MAPLIB_LABEL */
42 
43 /*
44  Local variables:
45  mode: font-lock
46  End:
47 */
ccp4_signal
void ccp4_signal(const int, const char *const, void(*)())
Definition: library_err.c:278
_CMMFile
Construct to hold the information about a map file.
Definition: cmaplib.h:118
ccp4_cmap_get_title
char * ccp4_cmap_get_title(const CMMFile *mfile)
Definition: cmap_labels.c:164
ccp4_cmap_number_label
int ccp4_cmap_number_label(const CMMFile *mfile)
Definition: cmap_labels.c:155
float_uint_uchar::i
uint32 i
Definition: ccp4_types.h:46
ccp4_file_readchar
int ccp4_file_readchar(CCP4File *cfile, uint8 *buffer, size_t nitems)
Definition: library_file.c:1528
write_maplabels
int write_maplabels(const CMMFile *mfile)
Definition: cmap_labels.c:55
ccp4_file_is_write
int ccp4_file_is_write(const CCP4File *cfile)
Definition: library_file.c:542
cmaplib.h
ccp4 map i/o user-level library header file
ccp4_file_writechar
int ccp4_file_writechar(CCP4File *cfile, const uint8 *buffer, size_t nitems)
Definition: library_file.c:1972
ccp4_cmap_set_title
int ccp4_cmap_set_title(CMMFile *mfile, const char *label)
Definition: cmap_labels.c:174
_CMMFile::stream
CCP4File * stream
Definition: cmaplib.h:119
ccp4_cmap_get_label
char * ccp4_cmap_get_label(const CMMFile *mfile, int posn)
Definition: cmap_labels.c:136
ccp4_file_raw_seek
int ccp4_file_raw_seek(CCP4File *cfile, long offset, int whence)
Definition: library_file.c:384
cmap_labels.h
Declaration of routines to parse and output map labels.
cmap_errno.h
Error codes for the library.
parse_maplabels
int parse_maplabels(CMMFile *mfile)
Definition: cmap_labels.c:29
ccp4_cmap_set_label
int ccp4_cmap_set_label(CMMFile *mfile, const char *label, int posn)
Definition: cmap_labels.c:84