OpenFOAM logo
Open Source CFD Toolkit

HashSet Class Template Reference

Inheritance diagram for HashSet:

Inheritance graph
[legend]
Collaboration diagram for HashSet:

Collaboration graph
[legend]
List of all members.

template<class Key = word, class Hash = string::hash>
class Foam::HashSet< Key, Hash >


Public Member Functions

 HashSet (label size=100)
 Construct given initial map size.
 HashSet (Istream &is)
 Construct from Istream.
 HashSet (const UList< Key > &ul)
 Construct from UList of Key.
 HashSet (const HashSet< Key, Hash > &hs)
 Construct as copy.
bool insert (const Key &key)
 Insert a new hashedEntry.

Constructor & Destructor Documentation

HashSet label  size = 100  )  [inline]
 

Construct given initial map size.

Definition at line 64 of file HashSet.H.

HashSet Istream is  )  [inline]
 

Construct from Istream.

Definition at line 70 of file HashSet.H.

HashSet const UList< Key > &  ul  )  [inline]
 

Construct from UList of Key.

Definition at line 76 of file HashSet.H.

HashSet const HashSet< Key, Hash > &  hs  )  [inline]
 

Construct as copy.

Definition at line 87 of file HashSet.H.


Member Function Documentation

bool insert const Key &  key  )  [inline]
 

Insert a new hashedEntry.

Definition at line 98 of file HashSet.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org