Lumiera  0.pre.03
»edit your freedom«
TestPOA Struct Reference

Description

Test dummy record, representing either a provision or an request.

The advice binding is simulated by storing a pattern matcher, and for the case of the advice request, the solution is simulated by a TestPOA*

Definition at line 52 of file advice-index-test.cpp.

Public Member Functions

 TestPOA (Literal spec="missing")
 
void changeBinding (Literal newSpec)
 
Binding::Matcher getMatcher () const
 
const TestPOAgetSolution () const
 
bool matches (Literal refSpec) const
 
void setSolution (TestPOA *p)
 

Public Attributes

Binding::Matcher pattern_
 
TestPOAsolution_
 

Friends

HashVal hash_value (TestPOA const &entry)
 
+ Collaboration diagram for TestPOA:

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