62 bool readIOcontents();
125 using List<
T>::operator=;
A IOList wrapper for writing external List data.
List< T > content_type
The underlying content type.
IOListRef()=delete
No default construct.
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
virtual ~IOListRef()=default
Destructor.
void operator=(const IOListRef &)=delete
No copy assignment.
virtual const word & type() const
Type is identical to IOList.
IOListRef(const IOListRef &)=delete
No copy construct.
A List of objects of type <T> with automated input and output.
List< T > content_type
The underlying content type.
void operator=(IOList< T > &&rhs)
Move assignment of entries.
IOList(const IOobject &io)
Construct from IOobject. Will be zero size if not read.
IOList(const IOobject &io, Foam::zero)
Construct from IOobject and zero size (if not read).
virtual bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
virtual ~IOList()=default
Destructor.
IOList(const IOList &)=default
Default copy construct.
static List< T > readContents(const IOobject &io)
Read and return contents. The IOobject is never registered.
TypeName("List")
Runtime type information.
static void writeContents(const IOobject &io, const UList< T > &content)
Write contents. The IOobject is never registered.
IOList(const IOobject &io, List< T > &&content)
Construct by transferring the content.
IOList(const IOobject &io, const UList< T > &content)
Construct from IOobject and a copy of content.
IOList(const IOobject &io, const label len)
Construct from IOobject and list size (if not read).
void operator=(const IOList< T > &rhs)
Copy assignment of entries.
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,...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void operator=(const UList< T > &list)
Assignment to UList operator. Takes linear time.
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...
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 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)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.