36 if (isReadRequired() || (isReadOptional() && headerOk()))
38 readStream(typeName) >> *
this;
55 warnNoRereading<IOList<T>>();
67 warnNoRereading<IOList<T>>();
79 warnNoRereading<IOList<T>>();
81 if (!readIOcontents())
94 warnNoRereading<IOList<T>>();
96 if (!readIOcontents())
109 warnNoRereading<IOList<T>>();
111 List<T>::transfer(content);
134 IOobject rio(
io, IOobjectOption::NO_REGISTER);
135 if (rio.readOpt() == IOobjectOption::READ_MODIFIED)
137 rio.readOpt(IOobjectOption::MUST_READ);
140 IOList<T> reader(rio);
168 os << static_cast<const List<T>&>(*this);
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
patchWriters resize(patchIds.size())
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
A List of objects of type <T> with automated input and output.
static void writeContents(const IOobject &io, const UList< T > &content)
Write contents. The IOobject is never registered.
static List< T > readContents(const IOobject &io)
Read and return contents. The IOobject is never registered.
IOListRef()=delete
No default construct.
void operator=(const IOList< T > &rhs)
Copy assignment of entries.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
IOList(const IOList &)=default
Default copy construct.
OBJstream os(runTime.globalPath()/outputName)
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 ...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
A IOList wrapper for writing external List data.
Defines the attributes of an object for which implicit objectRegistry management is supported...