cloudy
trunk
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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);
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_ */
t_input::nSave
long int nSave
Definition:
input.h:46
NKRD
#define NKRD
Definition:
input.h:10
input
t_input input
Definition:
input.cpp:12
t_input::nSaveIni
long int nSaveIni
Definition:
input.h:46
t_input::nRead
long int nRead
Definition:
input.h:46
t_input::chTitle
char chTitle[INPUT_LINE_LENGTH]
Definition:
input.h:32
Parser
Definition:
parser.h:31
t_input::echo
void echo(FILE *ipOUT)
Definition:
input.cpp:89
INPUT_LINE_LENGTH
const int INPUT_LINE_LENGTH
Definition:
cddefines.h:258
input_readvector
void input_readvector(const char *chFile, double vector[], long n, bool *lgEOF)
Definition:
input.cpp:189
t_input::readarray
void readarray(char *chCard, bool *lgEOF)
Definition:
input.cpp:114
t_input::lgUnderscoreFound
bool lgUnderscoreFound
Definition:
input.h:63
t_input::lgBracketFound
bool lgBracketFound
Definition:
input.h:67
t_input::iReadWay
long int iReadWay
Definition:
input.h:46
t_input::chDelimiter
char chDelimiter[3]
Definition:
input.h:42
t_input::lgSetNoBuffering
bool lgSetNoBuffering
Definition:
input.h:70
t_input::nReadSv
long int nReadSv
Definition:
input.h:46
lgInputComment
bool lgInputComment(const char *chLine)
Definition:
input.cpp:18
t_input::chCardSav
char chCardSav[NKRD][INPUT_LINE_LENGTH]
Definition:
input.h:32
t_input
Definition:
input.h:27
t_input::init
void init(void)
Definition:
input.cpp:63
Generated on Sat Oct 19 2013 10:43:10 for cloudy by
1.8.5