Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::TransformHasher Class Reference

Calculate a hash value of a transform for deduplication. More...

#include <TransformHasher.hh>

Public Types

Type aliases
using result_type = std::size_t
 

Public Member Functions

template<class T >
result_type operator() (T const &) const
 
result_type operator() (NoTransformation const &) const
 Special hash for "no transformation".
 
result_type operator() (SignedPermutation const &) const
 Special hash for "signed permutation".
 
template<class T >
auto operator() (T const &t) const -> result_type
 By default, calculate a hash based on the stored data.
 

Detailed Description

Calculate a hash value of a transform for deduplication.


The documentation for this class was generated from the following files: