Chemical Data Processing Library C++ API - Version 1.1.1
|
The default functor for the generation of bond hash seeds. More...
#include <HashCodeCalculator.hpp>
Public Member Functions | |
DefBondHashSeedFunctor (unsigned int flags=DEF_BOND_PROPERTY_FLAGS) | |
Constructs the bond hash seed functor object for the specified set of bond properties. More... | |
std::uint64_t | operator() (const Bond &bond) const |
Generates an initial hash code value (seed) for the specified bond. More... | |
The default functor for the generation of bond hash seeds.
|
inline |
Constructs the bond hash seed functor object for the specified set of bond properties.
The flags argument is an OR combination of the constants defined in namespace Chem::BondPropertyFlag. Supported property flags are:
flags | Specifies the set of considered bond properties. |
std::uint64_t CDPL::Chem::HashCodeCalculator::DefBondHashSeedFunctor::operator() | ( | const Bond & | bond | ) | const |
Generates an initial hash code value (seed) for the specified bond.
The generated hash seed depends on the set of considered bond properties that has been specified in the constructor.
bond | The bond for which to generate the initial hash code. |