A Map of objects of type <T> with automated input and output. More...
#include <OpenFOAM/IOMap.H>
A Map of objects of type <T> with automated input and output.
Definition at line 51 of file IOMap.H.
Public Member Functions | |
TypeName ("Map") | |
Runtime type information.
| |
IOMap (const IOobject &) | |
Construct from IOobject.
| |
IOMap (const IOobject &, const label) | |
Construct from IOobject and size of Map.
| |
IOMap (const IOobject &, const Map< T > &) | |
Construct from IOobject and a Map.
| |
IOMap (const IOobject &, const Xfer< Map< T > > &) | |
Construct by transferring the Map contents.
| |
virtual | ~IOMap () |
bool | writeData (Ostream &) const |
Pure virtual writaData function.
| |
void | operator= (const IOMap< T > &) |
Assignment of other IOMap's entries to this IOMap.
| |
void | operator= (const Map< T > &) |
Assignment of other Map's entries to this IOMap.
|
Construct from IOobject.
Definition at line 31 of file IOMap.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), and regIOobject::readStream().
Construct from IOobject and size of Map.
Definition at line 47 of file IOMap.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), and setSize().
Construct from IOobject and a Map.
Definition at line 68 of file IOMap.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOMap< T >::operator=(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), and regIOobject::readStream().
Construct by transferring the Map contents.
Definition at line 89 of file IOMap.C.
References regIOobject::close(), IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), regIOobject::readStream(), and HashTable< T, label, Hash< label > >::transfer().
TypeName | ( | "Map" | ) |
Runtime type information.
bool writeData | ( | Ostream & | ) | const [virtual]
|
Pure virtual writaData function.
Must be defined in derived types
Implements regIOobject.
Definition at line 117 of file IOMap.C.
References IOobject::good().
void operator= | ( | const IOMap< T > & | rhs ) |
Assignment of other IOMap's entries to this IOMap.
Definition at line 126 of file IOMap.C.
References HashTable< T, label, Hash< label > >::operator=().
Referenced by IOMap< T >::IOMap().
void operator= | ( | const Map< T > & | rhs ) |
Assignment of other Map's entries to this IOMap.
Definition at line 133 of file IOMap.C.
References HashTable< T, label, Hash< label > >::operator=().