cloudy trunk
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

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

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

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

title entered with the title command

Definition at line 51 of file input.h.

Referenced by cdErrors(), IterRestart(), ParseCommands(), ParsePunch(), pltr(), PrtFinal(), and zero().

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

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

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

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:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated for cloudy by doxygen 1.7.3