63 bool readIOcontents(
bool readOnProc =
true);
128 using Field<Type>::operator=;
201 return contentRef_.cref();
static const char *const typeName
Typename for Field.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
void operator=(const Field< Type > &)
Copy assignment.
constexpr Field() noexcept
Default construct.
A IOField wrapper for writing external data.
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
virtual ~IOFieldRef()=default
Destructor.
virtual const word & type() const
Type is identical to IOField.
void operator=(const IOFieldRef &)=delete
No copy assignment.
IOFieldRef(const IOFieldRef &)=delete
No copy construct.
IOFieldRef()=delete
No default construct.
Field< Type > content_type
The underlying content type.
A primitive field of type <T> with automated input and output.
virtual ~IOField()=default
Destructor.
IOField(const IOobject &io, const label len)
Construct from IOobject and field size (if not read).
IOField(const IOobject &io, const bool readOnProc)
Construct from IOobject, with local processor conditional reading.
IOField(const IOField &)=default
Default copy construct.
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
IOField(const IOobject &io, Field< Type > &&content)
Construct by transferring the Field content.
static Field< Type > readContents(const IOobject &io)
Read and return contents. The IOobject will not be registered.
IOField(const IOobject &io)
Construct from IOobject. Will be zero size if not read.
TypeName("Field")
Runtime type information.
IOField(const IOobject &io, const tmp< Field< Type > > &tfld)
Construct by copying/moving tmp content.
void operator=(IOField< Type > &&rhs)
Move assignment of entries.
void operator=(const IOField< Type > &rhs)
Copy assignment of entries.
IOField(const IOobject &io, const UList< Type > &content)
Construct from IOobject and copy of List/Field content.
IOField(const IOobject &io, Foam::zero)
Construct from IOobject and zero size (if not read).
Field< Type > content_type
The underlying content type.
static label readContentsSize(const IOobject &io)
Read and return content size, -1 if not read.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A class for managing references or pointers (no reference counting).
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...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
OBJstream os(runTime.globalPath()/outputName)
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.