Gadget
readword.h
Go to the documentation of this file.
1 #ifndef readword_h
2 #define readword_h
3 
4 #include "commentstream.h"
5 #include "modelvariable.h"
6 #include "formula.h"
7 
14 void readWordAndVariable(CommentStream& infile, const char* str, int& number);
21 void readWordAndVariable(CommentStream& infile, const char* str, double& number);
28 void readWordAndVariable(CommentStream& infile, const char* str, Formula& formula);
37 void readWordAndModelVariable(CommentStream& infile, const char* str, ModelVariable& modelvariable,
38  const TimeClass* const TimeInfo, Keeper* const keeper);
45 void readWordAndValue(CommentStream& infile, const char* str, char* value);
53 void readWordAndTwoVariables(CommentStream& infile, const char* str, int& number1, int& number2);
61 void readWordAndTwoVariables(CommentStream& infile, const char* str, double& number1, double& number2);
62 
63 #endif
This is the class used to strip comments (and whitespace) from any input stream.
Definition: commentstream.h:40
This is the class used to calculate the value of the variables used in the model simulation.
Definition: formula.h:18
This is the class used to store information about the variables that are used in model simulation.
Definition: keeper.h:17
This is the base class used to calculate the value of variables used in the model simulation that are...
Definition: modelvariable.h:19
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87
void readWordAndModelVariable(CommentStream &infile, const char *str, ModelVariable &modelvariable, const TimeClass *const TimeInfo, Keeper *const keeper)
This is the function that will read a text string from file, compare this text to a label and if it m...
Definition: readword.cc:42
void readWordAndValue(CommentStream &infile, const char *str, char *value)
This is the function that will read a text string from file, compare this text to a label and if it m...
Definition: readword.cc:24
void readWordAndVariable(CommentStream &infile, const char *str, int &number)
This is the function that will read a text string from file, compare this text to a label and if it m...
Definition: readword.cc:15
void readWordAndTwoVariables(CommentStream &infile, const char *str, int &number1, int &number2)
This is the function that will read a text string from file, compare this text to a label and if it m...
Definition: readword.cc:61