Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Binding::Matcher Class Reference

#include "common/advice/binding.hpp"

Description

Functor object for matching against another Binding.

Contains precompiled information necessary for determining a match.

Note
Matcher is POD, copyable, no-throw

Definition at line 161 of file common/advice/binding.hpp.

Public Member Functions

bool matches (Binding const &obi) const
 
bool matches (Binding::Matcher const &oma) const
 

Friends

class Binding
 
HashVal hash_value (Matcher const &)
 

Private Member Functions

 Matcher (HashVal ha)
 

Private Attributes

HashVal bindingHash_
 

Constructor & Destructor Documentation

◆ Matcher()

Matcher ( HashVal  ha)
inlineprivate

Definition at line 166 of file common/advice/binding.hpp.

Member Function Documentation

◆ matches() [1/2]

bool matches ( Binding const &  obi) const
inline

Definition at line 260 of file common/advice/binding.hpp.

References Binding::Matcher::bindingHash_, and Binding::calculateHash().

Referenced by lumiera::advice::matches(), lumiera::advice::matches(), TestPOA::matches(), and Index< POA >::RequestCluster::rewrite_all_solutions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ matches() [2/2]

bool matches ( Binding::Matcher const &  oma) const
inline

Definition at line 266 of file common/advice/binding.hpp.

References lumiera::advice::hash_value().

+ Here is the call graph for this function:

Member Data Documentation

◆ bindingHash_

HashVal bindingHash_
private

Definition at line 163 of file common/advice/binding.hpp.

Referenced by Binding::Matcher::matches().

Friends And Related Symbol Documentation

◆ Binding

friend class Binding
friend

Definition at line 170 of file common/advice/binding.hpp.

◆ hash_value

HashVal hash_value ( Binding::Matcher const &  bm)
friend

Definition at line 272 of file common/advice/binding.hpp.

+ Collaboration diagram for Binding::Matcher:

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