OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

IOMap< T > Class Template Reference

A Map of objects of type <T> with automated input and output. More...

Inheritance diagram for IOMap< T >:
Collaboration diagram for IOMap< T >:

List of all members.


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.

Detailed Description

template<class T>
class Foam::IOMap< T >

A Map of objects of type <T> with automated input and output.

Source files

Definition at line 46 of file IOMap.H.


Constructor & Destructor Documentation

IOMap ( const IOobject &  io  )  [inline]

Construct from IOobject.

Definition at line 23 of file IOMap.C.

References IOobject::MUST_READ, and IOobject::readOpt().

Here is the call graph for this function:

IOMap ( const IOobject &  io,
const label  size 
) [inline]

Construct from IOobject and size of Map.

Definition at line 39 of file IOMap.C.

References regIOobject::close(), and regIOobject::readStream().

Here is the call graph for this function:

IOMap ( const IOobject &  io,
const Map< T > &  map 
) [inline]

Construct from IOobject and a Map.

Definition at line 60 of file IOMap.C.

IOMap ( const IOobject &  io,
const Xfer< Map< T > > &  map 
) [inline]

Construct by transferring the Map contents.

Definition at line 81 of file IOMap.C.

~IOMap (  )  [inline, virtual]

Definition at line 102 of file IOMap.C.

References regIOobject::readStream().

Here is the call graph for this function:


Member Function Documentation

TypeName ( "Map"   ) 

Runtime type information.

bool writeData ( Ostream &   )  const [inline, virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 109 of file IOMap.C.

void operator= ( const IOMap< T > &  rhs  )  [inline]

Assignment of other IOMap's entries to this IOMap.

Definition at line 118 of file IOMap.C.

Referenced by IOMap< T >::operator=().

Here is the caller graph for this function:

void operator= ( const Map< T > &  rhs  )  [inline]

Assignment of other Map's entries to this IOMap.

Definition at line 125 of file IOMap.C.

References IOMap< T >::operator=().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
  • src/OpenFOAM/db/IOobjects/IOMap/IOMap.H
  • src/OpenFOAM/db/IOobjects/IOMap/IOMap.C
Copyright © 2000-2009 OpenCFD Ltd