Defines |
|
#define | CPARSER_ERRNO(n) (CCP4_ERR_PARS | (n)) |
|
#define | CPARSERR_Ok 0 |
|
#define | CPARSERR_MaxTokExceeded 1 |
|
#define | CPARSERR_AllocFail 2 |
|
#define | CPARSERR_NullPointer 3 |
|
#define | CPARSERR_LongLine 4 |
|
#define | CPARSERR_CantOpenFile 5 |
|
#define | CPARSERR_NoName 6 |
|
#define | CPARSERR_ExpOverflow 7 |
|
#define | CPARSERR_ExpUnderflow 8 |
|
#define | CPARSERR_MatToSymop 9 |
|
#define | CPARSERR_SymopToMat 10 |
Functions |
| CCP4PARSERARRAY * | ccp4_parse_start (const int maxtokens) |
| int | ccp4_parse_end (CCP4PARSERARRAY *parsePtr) |
|
int | ccp4_parse_init_token (const CCP4PARSERARRAY *parsePtr, const int itok) |
|
int | ccp4_parse_reset (CCP4PARSERARRAY *parsePtr) |
|
int | ccp4_parse_delimiters (CCP4PARSERARRAY *parsePtr, const char *delim, const char *nulldelim) |
|
int | ccp4_parse_comments (CCP4PARSERARRAY *parsePtr, const char *comment_chars) |
|
int | ccp4_parse_maxmin (CCP4PARSERARRAY *parsePtr, const double max_exponent, const double min_exponent) |
|
int | ccp4_parse (const char *line, CCP4PARSERARRAY *parser) |
| int | ccp4_parser (char *line, const int nchars, CCP4PARSERARRAY *parser, const int print) |
| int | ccp4_keymatch (const char *keyin1, const char *keyin2) |
| char * | strtoupper (char *str1, const char *str2) |
| char * | strtolower (char *str1, const char *str2) |
|
int | strmatch (const char *str1, const char *str2) |
|
int | charmatch (const char character, const char *charlist) |
|
int | doublefromstr (const char *str, const double max_exp, const double min_exp, double *valuePtr, double *intvaluePtr, int *intdigitsPtr, double *frcvaluePtr, int *frcdigitsPtr, double *expvaluePtr, int *expdigitsPtr) |
| ccp4_symop | symop_to_rotandtrn (const char *symchs_begin, const char *symchs_end) |
| const char * | symop_to_mat4 (const char *symchs_begin, const char *symchs_end, float *rot) |
|
int | symop_to_mat4_err (const char *symop) |
|
ccp4_symop | mat4_to_rotandtrn (const float rsm[4][4]) |
|
char * | rotandtrn_to_symop (char *symchs_begin, char *symchs_end, const ccp4_symop symop) |
|
void | rotandtrn_to_mat4 (float rsm[4][4], const ccp4_symop symop) |
| char * | mat4_to_symop (char *symchs_begin, char *symchs_end, const float rsm[4][4]) |
| char * | mat4_to_recip_symop (char *symchs_begin, char *symchs_end, const float rsm[4][4]) |