Go to the documentation of this file.
22 template<
typename intType>
31 template<
typename intType>
41 template<
typename intType>
58 template<
typename intType>
68 "error in reading iBox from file. \n";
73 template<
typename intType>
80 return point >= min_ && point <= max_;
83 template<
typename intType>
92 template<
typename intType>
101 template<
typename intType>
113 template<
typename intType>
120 if(!dict.
add(
"min", min_))
127 if(!dict.
add(
"max", max_))
137 template<
typename intType>
144 "error in reading iBox. \n";
150 template<
typename intType>
158 "error in writing iBox. \n";
#define fatalExit
Fatal exit.
INLINE_FUNCTION_HD bool isInside(const triple< intType > &point) const
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.
INLINE_FUNCTION_HD iBox()
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.
#define INLINE_FUNCTION_HD
Interface class for any output stream.
iOstream & writeWordEntry(const word &key, const T &value)
Write a keyword/value entry.
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
FUNCTION_H bool read(iIstream &is)