Loading...
Searching...
No Matches
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.
typedef HashSet< label, Hash< label > > labelHashSet
 A HashSet of labels, uses label hasher.

Functions

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

Detailed Description

Original source file HashSet.H

Definition in file HashSet.H.