Go to the documentation of this file.
50 "error in reading box from file. \n";
89 if(!dict.
add(
"min", min_))
96 if(!dict.
add(
"max", max_))
112 "error in reading box. \n";
125 "error in writing box. \n";
INLINE_FUNCTION_HD box()=default
#define fatalExit
Fatal exit.
virtual word globalName() const
global name of entry, separated with dots
bool add(const word &keyword, const float &v)
add a float dataEntry
iOstream & endl(iOstream &os)
Add newline and flush stream.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Interface class for any input stream
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
bool nextData(const word &keyword, T &data)
read the data next to keword keyword data; check the keyword is correct or not
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
FUNCTION_H bool write(iOstream &os) const
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
virtual const word & name() const
Return the name of the stream.
T getVal(const word &keyword) const
get the value of data entry
#define ioErrorInFile(fileName, lineNumber)
Report an error in file operation with supplied fileName and lineNumber.
int32 lineNumber() const
Const access to the current stream line number.
Interface class for any output stream.
iOstream & writeWordEntry(const word &key, const T &value)
Write a keyword/value entry.
FUNCTION_H bool read(iIstream &is)
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...