75 <<
"NO_READ must be set if specifying size" << nl
142 return (
os << *
this).good();
A helper class when constructing from an Istream or dictionary.
A PtrList of objects of type <T> with automated input and output.
bool writeData(Ostream &os) const
Pure virtual writeData function.
IOPtrList(const IOPtrList &)=default
Default copy construct.
static PtrList< T > readContents(const IOobject &io)
Read and return contents. The IOobject will not be registered.
@ NO_REGISTER
Do not request registration (bool: false).
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.
readOption readOpt() const noexcept
Get the read option.
@ MUST_READ
Reading required.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
void resetHeader(const word &newName=word::null)
Clear various bits (headerClassName, note, sizeof...) that would be obtained when reading from a file...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
void transfer(PtrList< T > &list)
Transfer into this list and annul the argument list.
void operator=(const UPtrList< T > &list)
Copy assignment.
void readIstream(Istream &is, const INew &inew)
Read from Istream using Istream constructor class.
constexpr PtrList() noexcept
Default construct.
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.
virtual void addWatch()
Add file watch on object (if registered and READ_IF_MODIFIED).
OBJstream os(runTime.globalPath()/outputName)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)