A List of objects of type <T> with automated input and output. More...
#include <OpenFOAM/IOList.H>
A List of objects of type <T> with automated input and output.
Definition at line 51 of file IOList.H.
Public Member Functions | |
TypeName ("List") | |
Runtime type information.
| |
IOList (const IOobject &) | |
Construct from IOobject.
| |
IOList (const IOobject &, const label) | |
Construct from IOobject and size of IOList.
| |
IOList (const IOobject &, const List< T > &) | |
Construct from IOobject and a List.
| |
IOList (const IOobject &, const Xfer< List< T > > &) | |
Construct by transferring the List contents.
| |
virtual | ~IOList () |
bool | writeData (Ostream &) const |
Pure virtual writaData function.
| |
void | operator= (const IOList< T > &) |
void | operator= (const List< T > &) |
Assignment operator. Takes linear time.
| |
template<> | |
const word | typeName ("scalarVectorTable") |
Construct from IOobject.
Definition at line 31 of file IOList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), and IOList< T >::typeName().
Construct from IOobject and size of IOList.
Definition at line 48 of file IOList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), List< T >::setSize(), and IOList< T >::typeName().
Construct from IOobject and a List.
Definition at line 69 of file IOList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOList< T >::operator=(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), and IOList< T >::typeName().
Construct by transferring the List contents.
Definition at line 90 of file IOList.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), List< T >::transfer(), and IOList< T >::typeName().
TypeName | ( | "List" | ) |
Runtime type information.
bool writeData | ( | Ostream & | ) | const [virtual]
|
Pure virtual writaData function.
Must be defined in derived types
Implements regIOobject.
Definition at line 119 of file IOList.C.
References IOobject::good().
void operator= | ( | const IOList< T > & | rhs ) |
Definition at line 128 of file IOList.C.
References List< T >::operator=().
Referenced by IOList< T >::IOList().
void operator= | ( | const List< T > & | a ) |
Assignment operator. Takes linear time.
Reimplemented from List< T >.
Definition at line 135 of file IOList.C.
References List< T >::operator=().
const word typeName | ( | "scalarVectorTable" | ) |
Referenced by IOList< T >::IOList().