Tenncor
Public Member Functions | List of all members
opt::iVoter Struct Referenceabstract

Rule tree node that identify and selects matching candidates. More...

#include <ivoter.hpp>

Inheritance diagram for opt::iVoter:
Inheritance graph
[legend]

Public Member Functions

virtual ~iVoter (void)=default
 
virtual void emplace (VoterArgsT args, Symbol cand)=0
 
virtual CandsT inspect (const CandArgsT &args) const =0
 Return virtual node graph candidates given candidate arguments. More...
 

Detailed Description

Rule tree node that identify and selects matching candidates.

Constructor & Destructor Documentation

◆ ~iVoter()

virtual opt::iVoter::~iVoter ( void  )
virtualdefault

Member Function Documentation

◆ emplace()

virtual void opt::iVoter::emplace ( VoterArgsT  args,
Symbol  cand 
)
pure virtual

Match argument and node symbol against this node Store argument and symbol if it's a candidate

Implemented in opt::VariadicVoter, opt::CommVoter, and opt::OrdrVoter.

◆ inspect()

virtual CandsT opt::iVoter::inspect ( const CandArgsT args) const
pure virtual

Return virtual node graph candidates given candidate arguments.

Implemented in opt::VariadicVoter, opt::CommVoter, and opt::OrdrVoter.


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