FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

IOMap< T > Class Template Reference

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

#include <OpenFOAM/IOMap.H>


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 51 of file IOMap.H.

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.

Constructor & Destructor Documentation

IOMap ( const IOobject &   io,
const label   size  
)
IOMap ( const IOobject &   io,
const Map< T > &   map  
)
IOMap ( const IOobject &   io,
const Xfer< Map< T > > &   map  
)
~IOMap (  ) [virtual]

Definition at line 110 of file IOMap.C.


Member Function Documentation

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=().


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