| 90 | // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // |
| 91 | |
| 92 | bool Foam::IOstream::check(const char* operation) const |
| 93 | { |
| 94 | if (bad()) |
| 95 | { |
| 96 | FatalIOErrorInFunction(*this) |
| 97 | << "error in IOstream " << name() << " for operation " << operation |
| 98 | << exit(FatalIOError); |
| 99 | } |
| 100 | |
| 101 | return !bad(); |
| 102 | } |
| 103 | |
| 104 | |
| 105 | void Foam::IOstream::fatalCheck(const char* operation) const |
no test coverage detected