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

◆ frcdigits

int CCP4PARSERTOKEN::frcdigits

Number of 'digits' after the decimal point (numbers only)

Referenced by ccp4_parse().

◆ fullstring

char* CCP4PARSERTOKEN::fullstring

Full string containing all of token

Referenced by ccp4_parse(), ccp4_parse_end(), ccp4_parse_init_token(), and ccp4_parse_start().

◆ ibeg

int CCP4PARSERTOKEN::ibeg

Begin character positions of token in input line

Referenced by ccp4_parse_init_token().

◆ iend

int CCP4PARSERTOKEN::iend

End character positions of token in input line

Referenced by ccp4_parse(), and ccp4_parse_init_token().

◆ intdigits

int CCP4PARSERTOKEN::intdigits

Number of 'digits' preceeding the decimal point (numbers only)

Referenced by ccp4_parse().

◆ isnull

int CCP4PARSERTOKEN::isnull

Flag: true if token is null field

Referenced by ccp4_parse(), and ccp4_parse_init_token().

◆ isnumber

int CCP4PARSERTOKEN::isnumber

Flag: true if token is number

Referenced by ccp4_parse(), and ccp4_parse_init_token().

◆ isquoted

int CCP4PARSERTOKEN::isquoted

Flag: true if token is contained in quotes

Referenced by ccp4_parse(), and ccp4_parse_init_token().

◆ isstring

int CCP4PARSERTOKEN::isstring

Flag: true if token is character string

Referenced by ccp4_parse(), and ccp4_parse_init_token().

◆ strlength

int CCP4PARSERTOKEN::strlength

Number of characters in whole token (strings only)

Referenced by ccp4_parse().

◆ value

double CCP4PARSERTOKEN::value

Equivalent numerical value

Referenced by ccp4_parse(), and ccp4_parse_init_token().

◆ word

char CCP4PARSERTOKEN::word[5]

First four characters of token

Referenced by ccp4_parse_init_token().


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