t_input Struct Reference

#include <input.h>

Collaboration diagram for t_input:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 35 of file input.h.


Field Documentation

char t_input::chCARDCAPS[INPUT_LINE_LENGTH]

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().

char t_input::chOrgCard[INPUT_LINE_LENGTH]

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().

char t_input::chTitle[INPUT_LINE_LENGTH]

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().

bool t_input::lgBracketFound

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().

bool t_input::lgSetNoBuffering

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().

bool t_input::lgUnderscoreFound

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().


The documentation for this struct was generated from the following file:
Generated on Mon Feb 16 12:14:47 2009 for cloudy by  doxygen 1.4.7