cloudy trunk
Loading...
Searching...
No Matches
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
18bool lgInputComment(
19 const char *chLine );
20
22void input_readvector(const char* chFile,
23 double vector[],
24 long n,
25 bool* lgEOF);
26
27struct 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 };
94extern t_input input;
95
96
97
98#endif /* INPUT_H_ */
const int INPUT_LINE_LENGTH
Definition cddefines.h:254
t_input input
Definition input.cpp:12
void input_readvector(const char *chFile, double vector[], long n, bool *lgEOF)
Definition input.cpp:189
#define NKRD
Definition input.h:10
bool lgInputComment(const char *chLine)
Definition input.cpp:18
bool lgUnderscoreFound
Definition input.h:63
char chDelimiter[3]
Definition input.h:42
long int nRead
Definition input.h:49
bool lgBracketFound
Definition input.h:67
void echo(FILE *ipOUT)
Definition input.cpp:89
long int iReadWay
Definition input.h:56
long int nSaveIni
Definition input.h:52
long int nReadSv
Definition input.h:59
bool lgSetNoBuffering
Definition input.h:70
friend class Parser
Definition input.h:80
long int nSave
Definition input.h:46
char chCardSav[NKRD][INPUT_LINE_LENGTH]
Definition input.h:32
char chTitle[INPUT_LINE_LENGTH]
Definition input.h:37
void readarray(char *chCard, bool *lgEOF)
Definition input.cpp:114
void init(void)
Definition input.cpp:63