cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
49  nRead,
50 
52  nSaveIni,
53 
56  iReadWay,
57 
59  nReadSv;
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_ */
long int nSave
Definition: input.h:46
#define NKRD
Definition: input.h:10
t_input input
Definition: input.cpp:12
long int nSaveIni
Definition: input.h:46
long int nRead
Definition: input.h:46
char chTitle[INPUT_LINE_LENGTH]
Definition: input.h:32
Definition: parser.h:31
void echo(FILE *ipOUT)
Definition: input.cpp:89
const int INPUT_LINE_LENGTH
Definition: cddefines.h:258
void input_readvector(const char *chFile, double vector[], long n, bool *lgEOF)
Definition: input.cpp:189
void readarray(char *chCard, bool *lgEOF)
Definition: input.cpp:114
bool lgUnderscoreFound
Definition: input.h:63
bool lgBracketFound
Definition: input.h:67
long int iReadWay
Definition: input.h:46
char chDelimiter[3]
Definition: input.h:42
bool lgSetNoBuffering
Definition: input.h:70
long int nReadSv
Definition: input.h:46
bool lgInputComment(const char *chLine)
Definition: input.cpp:18
char chCardSav[NKRD][INPUT_LINE_LENGTH]
Definition: input.h:32
Definition: input.h:27
void init(void)
Definition: input.cpp:63