32 template<
class>
class Container,
33 template<
class>
class IOContainer,
41 if (!IOContainer<Type>::rereading)
43 warnNoRereading<IOContainer<Type>>();
56 if (IOContainer<Type>::rereading)
61 readStream(IOContainer<Type>::typeName) >> *
this;
69 template<
class>
class Container,
70 template<
class>
class IOContainer,
82 if (!IOContainer<Type>::rereading)
84 warnNoRereading<IOContainer<Type>>();
94 if (IOContainer<Type>::rereading)
99 Istream& is = readStream(IOContainer<Type>::typeName,
read);
110 bool haveFile = headerOk();
112 Istream& is = readStream(IOContainer<Type>::typeName, haveFile &&
read);
114 if (
read && haveFile)
126 template<
class>
class Container,
127 template<
class>
class IOContainer,
139 if (!IOContainer<Type>::rereading)
141 warnNoRereading<IOContainer<Type>>();
154 if (IOContainer<Type>::rereading)
159 readStream(IOContainer<Type>::typeName) >> *
this;
171 template<
class>
class Container,
172 template<
class>
class IOContainer,
178 const Container<Type>& l
184 if (!IOContainer<Type>::rereading)
186 warnNoRereading<IOContainer<Type>>();
199 if (IOContainer<Type>::rereading)
204 readStream(IOContainer<Type>::typeName) >> *
this;
209 Container<Type>::operator=(l);
216 template<
class>
class Container,
217 template<
class>
class IOContainer,
227 Container<Type>(move(l))
230 if (!IOContainer<Type>::rereading)
232 warnNoRereading<IOContainer<Type>>();
245 if (IOContainer<Type>::rereading)
250 readStream(IOContainer<Type>::typeName) >> *
this;
258 template<
class>
class Container,
259 template<
class>
class IOContainer,
274 template<
class>
class Container,
275 template<
class>
class IOContainer,
284 Container<Type>(move(
f))
292 template<
class>
class Container,
293 template<
class>
class IOContainer,
304 template<
class>
class Container,
305 template<
class>
class IOContainer,
313 return (os <<
static_cast<const Container<Type>&
>(*
this)).good();
321 template<
class>
class Container,
322 template<
class>
class IOContainer,
330 Container<Type>::operator=(rhs);
336 template<
class>
class Container,
337 template<
class>
class IOContainer,
345 Container<Type>::operator=(move(rhs));
virtual bool writeData(Ostream &) const
WriteData function required for regIOobject write operation.
IOListBase(const IOobject &)
Construct from IOobject.
virtual ~IOListBase()
Destructor.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
readOption readOpt() const
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,...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
void close()
Close Istream.
bool headerOk()
Read and check header info.
Istream & readStream(const word &, const bool read=true)
Return Istream and check object type against that given.
void addWatch()
Add file watch on object (if registered and READ_IF_MODIFIED)
bool read(const char *, int32_t &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
points setSize(newPointi)