cloudy
trunk
Loading...
Searching...
No Matches
source
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);
26
27
struct
t_input
{
28
32
char
chCardSav
[
NKRD
][
INPUT_LINE_LENGTH
],
33
37
chTitle
[
INPUT_LINE_LENGTH
];
38
42
char
chDelimiter
[3];
43
44
long
int
46
nSave
,
47
49
nRead
,
50
52
nSaveIni
,
53
56
iReadWay
,
57
59
nReadSv
;
60
63
bool
lgUnderscoreFound
;
64
67
bool
lgBracketFound
;
68
70
bool
lgSetNoBuffering
;
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_ */
INPUT_LINE_LENGTH
const int INPUT_LINE_LENGTH
Definition
cddefines.h:254
input
t_input input
Definition
input.cpp:12
input_readvector
void input_readvector(const char *chFile, double vector[], long n, bool *lgEOF)
Definition
input.cpp:189
NKRD
#define NKRD
Definition
input.h:10
lgInputComment
bool lgInputComment(const char *chLine)
Definition
input.cpp:18
t_input
Definition
input.h:27
t_input::lgUnderscoreFound
bool lgUnderscoreFound
Definition
input.h:63
t_input::chDelimiter
char chDelimiter[3]
Definition
input.h:42
t_input::nRead
long int nRead
Definition
input.h:49
t_input::lgBracketFound
bool lgBracketFound
Definition
input.h:67
t_input::echo
void echo(FILE *ipOUT)
Definition
input.cpp:89
t_input::iReadWay
long int iReadWay
Definition
input.h:56
t_input::nSaveIni
long int nSaveIni
Definition
input.h:52
t_input::nReadSv
long int nReadSv
Definition
input.h:59
t_input::lgSetNoBuffering
bool lgSetNoBuffering
Definition
input.h:70
t_input::Parser
friend class Parser
Definition
input.h:80
t_input::nSave
long int nSave
Definition
input.h:46
t_input::chCardSav
char chCardSav[NKRD][INPUT_LINE_LENGTH]
Definition
input.h:32
t_input::chTitle
char chTitle[INPUT_LINE_LENGTH]
Definition
input.h:37
t_input::readarray
void readarray(char *chCard, bool *lgEOF)
Definition
input.cpp:114
t_input::init
void init(void)
Definition
input.cpp:63
Generated by
1.14.0