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

Function readData

src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionaryIO.C:31–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29// * * * * * * * * * * * * * * * Members Functions * * * * * * * * * * * * * //
30
31bool Foam::IOdictionary::readData(Istream& is)
32{
33 is >> *this;
34
35 if (writeDictionaries && Pstream::master() && !is.bad())
36 {
37 Sout<< nl
38 << "--- IOdictionary " << name()
39 << ' ' << objectPath() << ":" << nl;
40 writeHeader(Sout);
41 writeData(Sout);
42 Sout<< "--- End of IOdictionary " << name() << nl << endl;
43 }
44
45 return !is.bad();
46}
47
48
49bool Foam::IOdictionary::writeData(Ostream& os) const

Callers 2

GlobalIOField.CFile · 0.50
GlobalIOList.CFile · 0.50

Calls 4

nameFunction · 0.70
writeDataFunction · 0.70
writeHeaderFunction · 0.50
badMethod · 0.45

Tested by

no test coverage detected