Molassembler  3.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Scine::Molassembler::Hashes::LookupFunctor Struct Reference

A functor for getting an atom's hash from a captured list of hashes. More...

#include <AtomEnvironmentHash.h>

Public Types

using argument_type = AtomIndex
 
using result_type = HashType
 

Public Member Functions

 LookupFunctor (const std::vector< HashType > &hashes)
 
HashType operator() (const AtomIndex i) const
 

Data Fields

const std::vector< HashType >
*const 
hashesPtr
 

Detailed Description

A functor for getting an atom's hash from a captured list of hashes.

Note
This explicit form is needed instead of a lambda for boost's concept checks. It must satisfy AdaptableUnaryFunctionConcept.

The documentation for this struct was generated from the following file: