Loading...
Searching...
No Matches
HashOps.H File Reference
Include dependency graph for HashOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  plusEqOp< Key, HashType >
 Combine HashSet operation. Equivalent to 'a |= b'. More...
struct  plusEqOp< T, Key, HashType >
 Combine HashTable operation. Equivalent to 'a += b'. More...

Namespaces

namespace  Foam::HashSetOps
 Various operations for HashSet.
namespace  Foam::HashTableOps
 Various operations for HashTable.
namespace  Foam
 Namespace for OpenFOAM.

Functions

labelHashSet used (const bitSet &select)
 Convert a bitset to a labelHashSet of the indices used.
labelHashSet used (const UList< bool > &select)
 Convert a list of bools to a labelHashSet of the indices used.
bitSet bitset (const labelHashSet &locations)
 Transform the on locations to a bitSet.
List< bool > bools (const labelHashSet &locations)
 Transform the on locations to a boolList, with true for each non-negative location and false for all others.
template<class T, class Key, class Hash>
List< Tvalues (const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
 List of values from HashTable, optionally sorted.

Detailed Description

Original source file HashOps.H

Definition in file HashOps.H.