39 warnNoRereading<GlobalIOList<Type>>();
41 readHeaderOk(IOstreamOption::BINARY, typeName);
51 warnNoRereading<GlobalIOList<Type>>();
53 readHeaderOk(IOstreamOption::BINARY, typeName);
63 warnNoRereading<GlobalIOList<Type>>();
65 if (!readHeaderOk(IOstreamOption::BINARY, typeName))
76 const UList<Type>& content
82 warnNoRereading<GlobalIOList<Type>>();
84 if (!readHeaderOk(IOstreamOption::BINARY, typeName))
101 warnNoRereading<GlobalIOList<Type>>();
105 readHeaderOk(IOstreamOption::BINARY, typeName);
122 return (
os << *
this).good();
GlobalIOList(const GlobalIOList &)=default
Default copy construct.
patchWriters resize(patchIds.size())
void transfer(List< Type > &list)
Transfer the contents of the argument List into this list and annul the argument list.
void operator=(const GlobalIOList< Type > &rhs)
Copy assignment of entries.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual bool readData(Istream &is)
The readData method for regIOobject read operation.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
IOList with global data (so optionally read from master)
bool good() const noexcept
True if next operation might succeed.
bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Defines the attributes of an object for which implicit objectRegistry management is supported...