MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / check

Function check

src/OpenFOAM/db/IOstreams/IOstreams/IOstream.C:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
91
92bool 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
105void Foam::IOstream::fatalCheck(const char* operation) const

Callers 2

Istream.CFile · 0.70
IFstream.CFile · 0.50

Calls 2

nameFunction · 0.50
exitFunction · 0.50

Tested by

no test coverage detected