gpp4  1.3.1
Public Attributes | List of all members
CCP4PARSERTOKEN Struct Reference

CCP4 Parser token Construct to hold the information about a single token. More...

#include <ccp4_parser.h>

Public Attributes

char * fullstring
 
char word [5]
 
double value
 
int isstring
 
int strlength
 
int isnumber
 
int intdigits
 
int frcdigits
 
int isquoted
 
int isnull
 
int ibeg
 
int iend
 

Detailed Description

CCP4 Parser token Construct to hold the information about a single token.

Member Data Documentation

int CCP4PARSERTOKEN::frcdigits
        Number of 'digits' after the decimal point (numbers

only)

Referenced by ccp4_parse().

char* CCP4PARSERTOKEN::fullstring
int CCP4PARSERTOKEN::ibeg

Begin character positions of token in input line

Referenced by ccp4_parse(), ccp4_parse_init_token(), and ccp4_parser().

int CCP4PARSERTOKEN::iend

End character positions of token in input line

Referenced by ccp4_parse(), ccp4_parse_init_token(), and fparse_populate_arrays().

int CCP4PARSERTOKEN::intdigits
        Number of 'digits' preceeding the decimal point

(numbers only)

Referenced by ccp4_parse(), and fparse_populate_arrays().

int CCP4PARSERTOKEN::isnull

Flag: true if token is null field

Referenced by ccp4_parse(), and ccp4_parse_init_token().

int CCP4PARSERTOKEN::isnumber

Flag: true if token is number

Referenced by ccp4_parse(), and ccp4_parse_init_token().

int CCP4PARSERTOKEN::isquoted

Flag: true if token is contained in quotes

Referenced by ccp4_parse(), and ccp4_parse_init_token().

int CCP4PARSERTOKEN::isstring

Flag: true if token is character string

Referenced by ccp4_parse(), and ccp4_parse_init_token().

int CCP4PARSERTOKEN::strlength

Number of characters in whole token (strings only)

Referenced by ccp4_parse(), and fparse_populate_arrays().

double CCP4PARSERTOKEN::value

Equivalent numerical value

Referenced by ccp4_parse(), ccp4_parse_init_token(), and MtzGetUserCellTolerance().

char CCP4PARSERTOKEN::word[5]

First four characters of token

Referenced by ccp4_parse(), ccp4_parse_init_token(), and ccp4_parser().


The documentation for this struct was generated from the following file: