A PtrList of objects of type <T> with automated input and output. More...
#include <OpenFOAM/IOPtrList.H>
A PtrList of objects of type <T> with automated input and output.
Definition at line 51 of file IOPtrList.H.
Public Member Functions | |
TypeName ("PtrList") | |
Runtime type information.
| |
template<class INew > | |
IOPtrList (const IOobject &, const INew &) | |
Construct from IOobject using given Istream constructor class.
| |
IOPtrList (const IOobject &) | |
Construct from IOobject.
| |
IOPtrList (const IOobject &, const label) | |
Construct from IOobject with given size.
| |
IOPtrList (const IOobject &, const PtrList< T > &) | |
Construct from IOobject and a PtrList.
| |
IOPtrList (const IOobject &, const Xfer< PtrList< T > > &) | |
Construct by transferring the PtrList contents.
| |
virtual | ~IOPtrList () |
bool | writeData (Ostream &) const |
Pure virtual writaData function.
| |
void | operator= (const IOPtrList< T > &) |
Construct from IOobject using given Istream constructor class.
Definition at line 32 of file IOPtrList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, regIOobject::read(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), and regIOobject::readStream().
Construct from IOobject.
Definition at line 49 of file IOPtrList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, regIOobject::read(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), and regIOobject::readStream().
Construct from IOobject with given size.
Definition at line 66 of file IOPtrList.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::nl, IOobject::NO_READ, and IOobject::readOpt().
Construct from IOobject and a PtrList.
Definition at line 81 of file IOPtrList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOPtrList< T >::operator=(), regIOobject::read(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), and regIOobject::readStream().
Construct by transferring the PtrList contents.
Definition at line 102 of file IOPtrList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, regIOobject::read(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), and PtrList< T >::transfer().
~IOPtrList | ( | ) | [virtual]
|
Definition at line 123 of file IOPtrList.C.
TypeName | ( | "PtrList" | ) |
Runtime type information.
bool writeData | ( | Ostream & | ) | const [virtual]
|
Pure virtual writaData function.
Must be defined in derived types
Implements regIOobject.
Reimplemented in TimeActivatedExplicitSourceList< Type >.
Definition at line 130 of file IOPtrList.C.
References IOobject::good().
void operator= | ( | const IOPtrList< T > & | rhs ) |
Definition at line 139 of file IOPtrList.C.
References PtrList< T >::operator=().
Referenced by IOPtrList< T >::IOPtrList().