cloudy  trunk
input.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2013 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef INPUT_H_
5 #define INPUT_H_
6 
7 /* input.h */
8 
10 #define NKRD 4000
11 
18 bool lgInputComment(
19  const char *chLine );
20 
22 void input_readvector(const char* chFile,
23  double vector[],
24  long n,
25  bool* lgEOF);
27 struct t_input {
28 
33 
38 
42  char chDelimiter[3];
43 
44  long int
47 
50 
53 
57 
60 
64 
68 
71 
78  // friend CodeSmell
79  private:
80  friend class Parser;
81  void readarray(
82  char *chCard,
83  bool *lgEOF);
84 
85  public:
86  void echo( FILE *ipOUT);
87 
90  void init(void);
91 
92 
93  };
94 extern t_input input;
95 
96 
97 
98 #endif /* INPUT_H_ */
t_input::iReadWay
long int iReadWay
Definition: input.h:56
t_input::nSaveIni
long int nSaveIni
Definition: input.h:52
lgInputComment
bool lgInputComment(const char *chLine)
Definition: input.cpp:18
t_input::lgSetNoBuffering
bool lgSetNoBuffering
Definition: input.h:70
t_input::nRead
long int nRead
Definition: input.h:49
t_input::init
void init(void)
Definition: input.cpp:63
t_input::chTitle
char chTitle[INPUT_LINE_LENGTH]
Definition: input.h:37
t_input::chCardSav
char chCardSav[NKRD][INPUT_LINE_LENGTH]
Definition: input.h:32
t_input::echo
void echo(FILE *ipOUT)
Definition: input.cpp:89
t_input::lgBracketFound
bool lgBracketFound
Definition: input.h:67
input_readvector
void input_readvector(const char *chFile, double vector[], long n, bool *lgEOF)
Definition: input.cpp:189
Parser
Definition: parser.h:31
t_input::chDelimiter
char chDelimiter[3]
Definition: input.h:42
t_input::nSave
long int nSave
Definition: input.h:46
INPUT_LINE_LENGTH
const int INPUT_LINE_LENGTH
Definition: cddefines.h:254
t_input::lgUnderscoreFound
bool lgUnderscoreFound
Definition: input.h:63
NKRD
#define NKRD
Definition: input.h:10
input
t_input input
Definition: input.cpp:12
t_input::nReadSv
long int nReadSv
Definition: input.h:59
t_input
Definition: input.h:27
t_input::readarray
void readarray(char *chCard, bool *lgEOF)
Definition: input.cpp:114