#include <input.h>
Collaboration diagram for t_input:
Data Fields | |
char | chOrgCard [INPUT_LINE_LENGTH] |
char | chCARDCAPS [INPUT_LINE_LENGTH] |
char | chCardSav [NKRD][INPUT_LINE_LENGTH] |
char | chTitle [INPUT_LINE_LENGTH] |
long int | nSave |
long int | nRead |
long int | nSaveIni |
long int | iReadWay |
long int | nReadSv |
bool | lgUnderscoreFound |
bool | lgBracketFound |
bool | lgSetNoBuffering |
Definition at line 35 of file input.h.
this is cap'd image of command line, for use with patern matches
Definition at line 46 of file input.h.
Referenced by GetOptLineInt(), input_readarray(), ParseAssertResults(), ParseNorm(), ParseStop(), ParseTest(), PrtFinal(), PrtLineSum(), and punch_line().
char t_input::chCardSav[NKRD][INPUT_LINE_LENGTH] |
we will save the original (not caped) image of the line here
Definition at line 51 of file input.h.
Referenced by cdInit(), cdPrintCommands(), cdRead(), input_readarray(), ParseInit(), ParseNorm(), PrtFinal(), vary_input(), and writeCloudyDetails().
copy of current line image, set when input_readarray is called, used by parser when original (not cap'd) line needed
Definition at line 41 of file input.h.
Referenced by GetQuote(), input_readarray(), ParseAssertResults(), ParseCompile(), ParseGrain(), and ParseTest().
title entered with the title command
Definition at line 51 of file input.h.
Referenced by cdErrors(), ParsePunch(), and pltr().
long int t_input::iReadWay |
+/-1, says whether to increment or decrement nRead, since init commands are at the bottom of the stack and we read backwards
Definition at line 60 of file input.h.
Referenced by input_init(), input_readarray(), and ParseInterp().
this is set true if left or right bracket, [ or ], present in input stream, which was set to space
Definition at line 81 of file input.h.
Referenced by cdInit(), main(), and PrtComment().
set true with no buffering command, used to print comment at end
Definition at line 84 of file input.h.
Referenced by cdRead(), and ParseCommands().
this is set true if underscore present in input stream, which was set to space
Definition at line 77 of file input.h.
Referenced by cdInit(), main(), and PrtComment().
long int t_input::nRead |
this points to the command we are now parsing, within the stack of commands
Definition at line 60 of file input.h.
Referenced by abund_starburst(), cdInit(), input_init(), input_readarray(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseInterp(), ParseIonPar(), ParseMagnet(), ParseNorm(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), and punch_average().
long int t_input::nReadSv |
saves current value of nRead, while parsing init commands
Definition at line 60 of file input.h.
Referenced by input_init(), and input_readarray().
long int t_input::nSave |
total number of lines read in with cdRead
Definition at line 60 of file input.h.
Referenced by cdDrive(), cdInit(), cdPrintCommands(), cdRead(), input_readarray(), ParseInit(), PrtFinal(), and writeCloudyDetails().
long int t_input::nSaveIni |
number of init commands saved
Definition at line 60 of file input.h.
Referenced by cdInit(), input_readarray(), ParseInit(), and ShowMe().