A primitive field of type <T> with automated input and output. More...
#include <OpenFOAM/IOField.H>
A primitive field of type <T> with automated input and output.
Definition at line 51 of file IOField.H.
Public Member Functions | |
TypeName ("Field") | |
IOField (const IOobject &) | |
Construct from IOobject.
| |
IOField (const IOobject &, const label size) | |
Construct from IOobject and size (does not set values)
| |
IOField (const IOobject &, const Field< Type > &) | |
Construct from components.
| |
IOField (const IOobject &, const Xfer< Field< Type > > &) | |
Construct by transferring the Field contents.
| |
virtual | ~IOField () |
bool | writeData (Ostream &) const |
Pure virtual writaData function.
| |
void | operator= (const IOField< Type > &) |
void | operator= (const Field< Type > &) |
Construct from IOobject.
Definition at line 31 of file IOField.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), and Field< Type >::typeName.
Construct from IOobject and size (does not set values)
Definition at line 48 of file IOField.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), List< Type >::setSize(), and Field< Type >::typeName.
Construct from components.
Definition at line 69 of file IOField.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOField< Type >::operator=(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), and Field< Type >::typeName.
Construct by transferring the Field contents.
Definition at line 90 of file IOField.C.
References regIOobject::close(), f(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), List< Type >::transfer(), and Field< Type >::typeName.
TypeName | ( | "Field" | ) |
bool writeData | ( | Ostream & | ) | const [virtual]
|
Pure virtual writaData function.
Must be defined in derived types
Implements regIOobject.
Definition at line 117 of file IOField.C.
References IOobject::good().
void operator= | ( | const IOField< Type > & | rhs ) |
Definition at line 126 of file IOField.C.
References Field< Type >::operator=().
Referenced by IOField< Type >::IOField().
void operator= | ( | const Field< Type > & | rhs ) |
Reimplemented from Field< Type >.
Definition at line 133 of file IOField.C.
References Field< Type >::operator=().