cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Fields
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(), ParseCommands(), 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(), grid_do(), input_readarray(), lgOptimize_do(), optimize_func(), 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(), ParseCommands(), 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(), IterRestart(), ParseCommands(), ParsePunch(), pltr(), PrtFinal(), and zero().

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(), ParseCommands(), 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(), ParseCommands(), and PrtComment().

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
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(), grid_do(), input_readarray(), lgOptimize_do(), ParseCommands(), 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 for cloudy by doxygen 1.8.1.1