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

Map< T > Class Template Reference

A HashTable to objects of type <T> with a label key. More...

#include <OpenFOAM/Map.H>


Detailed Description

template<class T>
class Foam::Map< T >

A HashTable to objects of type <T> with a label key.

See also:
PtrMap

Definition at line 50 of file Map.H.

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

List of all members.

Public Types

typedef HashTable< T, label,
Hash< label > >::iterator  
iterator
typedef HashTable< T, label,
Hash< label >
>::const_iterator  
const_iterator

Public Member Functions

 Map (const label size=128)
 Construct given initial size.
 Map (Istream &is)
 Construct from Istream.
 Map (const Map< T > &map)
 Construct as copy.
 Map (const Xfer< Map< T > > &map)
 Construct by transferring the parameter contents.
 Map (const Xfer< HashTable< T, label, Hash< label > > > &map)
 Construct by transferring the parameter contents.

Member Typedef Documentation

typedef HashTable<T, label, Hash<label> >::iterator iterator

Reimplemented from HashTable< T, label, Hash< label > >.

Definition at line 57 of file Map.H.

typedef HashTable<T, label, Hash<label> >::const_iterator const_iterator

Reimplemented from HashTable< T, label, Hash< label > >.

Definition at line 60 of file Map.H.


Constructor & Destructor Documentation

Map ( const label   size = 128  ) [inline]

Construct given initial size.

Definition at line 65 of file Map.H.

Map ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 71 of file Map.H.

Map ( const Map< T > &   map  ) [inline]

Construct as copy.

Definition at line 77 of file Map.H.

Map ( const Xfer< Map< T > > &   map  ) [inline]

Construct by transferring the parameter contents.

Definition at line 83 of file Map.H.

Map ( const Xfer< HashTable< T, label, Hash< label > > > &   map  ) [inline]

Construct by transferring the parameter contents.

Definition at line 89 of file Map.H.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/containers/HashTables/Map/Map.H