HashSet.H File Reference
Include dependency graph for HashSet.H:

Go to the source code of this file.

Classes

class  HashSet< Key, Hash >
 A HashTable with keys but without contents that is similar to std::unordered_set. More...
 

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
 

Typedefs

typedef HashSet< word, Hash< word > > wordHashSet
 A HashSet of words, uses string hasher. More...
 
typedef HashSet< label, Hash< label > > labelHashSet
 A HashSet of labels, uses label hasher. More...
 

Functions

label min (const labelHashSet &set, label minValue=labelMax)
 Find the min value in labelHashSet, optionally limited by second argument. More...
 
label max (const labelHashSet &set, label maxValue=labelMin)
 Find the max value in labelHashSet, optionally limited by second argument. More...
 
MinMax< label > minMax (const labelHashSet &set)
 Find the min/max values of labelHashSet. More...
 
template<class Key , class Hash >
Ostream & operator<< (Ostream &os, const HashSet< Key, Hash > &rhs)
 Write the list of HashSet keys. More...
 
template<class Key , class Hash >
HashSet< Key, Hash > operator| (const HashSet< Key, Hash > &a, const HashSet< Key, Hash > &b)
 Combine entries (OR) for two HashSets. More...
 
template<class Key , class Hash >
HashSet< Key, Hash > operator& (const HashSet< Key, Hash > &a, const HashSet< Key, Hash > &b)
 Subset (AND) intersection of two HashSet. More...
 
template<class Key , class Hash >
HashSet< Key, Hash > operator^ (const HashSet< Key, Hash > &a, const HashSet< Key, Hash > &b)
 Create a HashSet that only contains unique entries (XOR) More...
 
template<class Key , class Hash >
HashSet< Key, Hash > operator- (const HashSet< Key, Hash > &a, const HashSet< Key, Hash > &b)
 Subset difference of two HashSets. More...
 

Detailed Description

Original source file HashSet.H

Definition in file HashSet.H.