36 if (io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED)
39 <<
"IOList " <<
name()
40 <<
" constructed with IOobject::MUST_READ_IF_MODIFIED"
41 " but IOList does not support automatic rereading."
47 io.
readOpt() == IOobject::MUST_READ
48 || io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED
50 || (io.
readOpt() == IOobject::READ_IF_PRESENT && headerOk())
53 readStream(typeName) >> *
this;
65 if (io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED)
68 <<
"IOList " <<
name()
69 <<
" constructed with IOobject::MUST_READ_IF_MODIFIED"
70 " but IOList does not support automatic rereading."
76 io.
readOpt() == IOobject::MUST_READ
77 || io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED
79 || (io.
readOpt() == IOobject::READ_IF_PRESENT && headerOk())
82 readStream(typeName) >> *
this;
98 if (io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED)
101 <<
"IOList " <<
name()
102 <<
" constructed with IOobject::MUST_READ_IF_MODIFIED"
103 " but IOList does not support automatic rereading."
110 io.
readOpt() == IOobject::MUST_READ
111 || io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED
113 || (io.
readOpt() == IOobject::READ_IF_PRESENT && headerOk())
116 readStream(typeName) >> *
this;
132 if (io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED)
135 <<
"IOList " <<
name()
136 <<
" constructed with IOobject::MUST_READ_IF_MODIFIED"
137 " but IOList does not support automatic rereading."
146 io.
readOpt() == IOobject::MUST_READ
147 || io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED
149 || (io.
readOpt() == IOobject::READ_IF_PRESENT && headerOk())
152 readStream(typeName) >> *
this;
171 return (os << *
this).good();