36 warnNoRereading<IOField<Type>>();
59 warnNoRereading<IOField<Type>>();
81 if (valid && haveFile)
96 warnNoRereading<IOField<Type>>();
123 warnNoRereading<IOField<Type>>();
150 warnNoRereading<IOField<Type>>();
180 return (os <<
static_cast<const Field<Type>&
>(*
this)).good();
IOField(const IOobject &)
Construct from IOobject.
A simple container for copying or transferring objects of type <T>.
bool writeData(Ostream &) const
Pure virtual writaData function.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static const char *const typeName
void operator=(const IOField< Type > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool headerOk()
Read and check header info.
Istream & readStream(const word &, const bool valid=true)
Return Istream and check object type against that given.
Pre-declare SubField and related Field type.
void close()
Close Istream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const Field< Type > &)
void setSize(const label)
Reset size of List.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
readOption readOpt() const
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual ~IOField()
Destructor.
label size() const
Return the number of elements in the UList.
A primitive field of type <T> with automated input and output.
void transfer(List< Type > &)
Transfer the contents of the argument List into this list.