41bool Foam::IOmapDistribute::readIOcontents()
78 if (!readIOcontents())
106 return (is >> *
this).good();
112 return (
os << *
this).good();
IOmapDistribute is derived from mapDistribute and IOobject to give the mapDistribute automatic IO fun...
IOmapDistribute(const IOobject &io)
Construct from IOobject.
virtual bool writeData(Ostream &) const
WriteData function required for regIOobject write operation.
virtual bool readData(Istream &)
ReadData function required for regIOobject read operation.
bool isReadOptional() const noexcept
True if (LAZY_READ) bits are set [same as READ_IF_PRESENT].
bool isReadRequired() const noexcept
True if (MUST_READ | READ_MODIFIED) bits are set.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
void warnNoRereading() const
Helper: warn that type does not support re-reading.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class containing processor-to-processor mapping information.
void operator=(const mapDistribute &rhs)
Copy assignment.
mapDistribute() noexcept
Default construct - uses worldComm.
void transfer(mapDistribute &map)
Transfer the contents of the argument and annul the argument.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
void close()
Close Istream.
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
bool headerOk()
Read and check header info. Does not check the headerClassName.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")