#include "ocsReadWriteTools.hh"
Functions | |
int | ReadInt (string ParameterName, string UnitsString, int LowerBound, int UpperBound, BoundsFlagEnumerator BoundsFlag, InputParameterOptionsEnumerator InputParameterOption, int DefaultValue, ifstream *InFile) |
long | ReadLongInt (string ParameterName, string UnitsString, long LowerBound, long UpperBound, BoundsFlagEnumerator BoundsFlag, InputParameterOptionsEnumerator InputParameterOption, long DefaultValue, ifstream *InFile) |
double | ReadDouble (string ParameterName, string UnitsString, double LowerBound, double UpperBound, BoundsFlagEnumerator BoundsFlag, InputParameterOptionsEnumerator InputParameterOption, double DefaultValue, ifstream *InFile) |
string | ReadString (string ParameterName, InputParameterOptionsEnumerator InputParameterOption, string DefaultValue, ifstream *InFile) |
int | ReadInt (string ParameterName, string UnitsString, int LowerBound, int UpperBound, BoundsFlagEnumerator BoundsFlag, InputParameterOptionsEnumerator InputParameterOption, ifstream *InFile) |
long | ReadLongInt (string ParameterName, string UnitsString, long LowerBound, long UpperBound, BoundsFlagEnumerator BoundsFlag, InputParameterOptionsEnumerator InputParameterOption, ifstream *InFile) |
double | ReadDouble (string ParameterName, string UnitsString, double LowerBound, double UpperBound, BoundsFlagEnumerator BoundsFlag, InputParameterOptionsEnumerator InputParameterOption, ifstream *InFile) |
string | ReadString (string ParameterName, InputParameterOptionsEnumerator InputParameterOption, ifstream *InFile) |
void | MissingParameter (string ParameterName, InputParameterOptionsEnumerator InputParameterOption) |
int | ReadInt (string ParameterName, string UnitsString, int LowerBound, int UpperBound, BoundsFlagEnumerator BoundsFlag, ifstream *InFile) |
long | ReadLongInt (string ParameterName, string UnitsString, long LowerBound, long UpperBound, BoundsFlagEnumerator BoundsFlag, ifstream *InFile) |
double | ReadDouble (string ParameterName, string UnitsString, double LowerBound, double UpperBound, BoundsFlagEnumerator BoundsFlag, ifstream *InFile) |
string | ReadString (string ParameterName, ifstream *InFile) |
void | cerror (char *msg) |
void | LogFileSeparator () |
void | LogFileStars () |
void | LogFileAbortWithErrorMsg (string ErrorMsg) |
Variables | |
ofstream * | LogFile |
void cerror | ( | char * | msg | ) |
void LogFileAbortWithErrorMsg | ( | string | ErrorMsg | ) |
References LogFile, and LogFileSeparator().
void LogFileSeparator | ( | ) |
References LogFile.
void LogFileStars | ( | ) |
References LogFile.
void MissingParameter | ( | string | ParameterName, | |
InputParameterOptionsEnumerator | InputParameterOption | |||
) |
References LogFile, LogFileStars(), MANDATORY, MissingParameter(), OPTIONAL_NO_WARNING, and OPTIONAL_WARNING.
double ReadDouble | ( | string | ParameterName, | |
string | UnitsString, | |||
double | LowerBound, | |||
double | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
InputParameterOptionsEnumerator | InputParameterOption, | |||
double | DefaultValue, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, MissingParameter(), NO_BOUNDS, ReadDouble(), and UPPER_ONLY.
double ReadDouble | ( | string | ParameterName, | |
string | UnitsString, | |||
double | LowerBound, | |||
double | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, NO_BOUNDS, ReadDouble(), and UPPER_ONLY.
double ReadDouble | ( | string | ParameterName, | |
string | UnitsString, | |||
double | LowerBound, | |||
double | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
InputParameterOptionsEnumerator | InputParameterOption, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, MissingParameter(), NO_BOUNDS, ReadDouble(), and UPPER_ONLY.
int ReadInt | ( | string | ParameterName, | |
string | UnitsString, | |||
int | LowerBound, | |||
int | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
InputParameterOptionsEnumerator | InputParameterOption, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, MissingParameter(), NO_BOUNDS, ReadInt(), and UPPER_ONLY.
int ReadInt | ( | string | ParameterName, | |
string | UnitsString, | |||
int | LowerBound, | |||
int | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, NO_BOUNDS, ReadInt(), and UPPER_ONLY.
int ReadInt | ( | string | ParameterName, | |
string | UnitsString, | |||
int | LowerBound, | |||
int | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
InputParameterOptionsEnumerator | InputParameterOption, | |||
int | DefaultValue, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, MissingParameter(), NO_BOUNDS, ReadInt(), and UPPER_ONLY.
long ReadLongInt | ( | string | ParameterName, | |
string | UnitsString, | |||
long | LowerBound, | |||
long | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
InputParameterOptionsEnumerator | InputParameterOption, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, MissingParameter(), NO_BOUNDS, and UPPER_ONLY.
long ReadLongInt | ( | string | ParameterName, | |
string | UnitsString, | |||
long | LowerBound, | |||
long | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
InputParameterOptionsEnumerator | InputParameterOption, | |||
long | DefaultValue, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, MissingParameter(), NO_BOUNDS, and UPPER_ONLY.
long ReadLongInt | ( | string | ParameterName, | |
string | UnitsString, | |||
long | LowerBound, | |||
long | UpperBound, | |||
BoundsFlagEnumerator | BoundsFlag, | |||
ifstream * | InFile | |||
) |
References cerror(), LogFile, LogFileStars(), LOWER_AND_UPPER, LOWER_ONLY, NO_BOUNDS, ReadLongInt(), and UPPER_ONLY.
string ReadString | ( | string | ParameterName, | |
ifstream * | InFile | |||
) |
References LogFile, and ReadString().
string ReadString | ( | string | ParameterName, | |
InputParameterOptionsEnumerator | InputParameterOption, | |||
string | DefaultValue, | |||
ifstream * | InFile | |||
) |
References LogFile, MissingParameter(), and ReadString().
string ReadString | ( | string | ParameterName, | |
InputParameterOptionsEnumerator | InputParameterOption, | |||
ifstream * | InFile | |||
) |
References LogFile, MissingParameter(), and ReadString().
ofstream* LogFile |