Tenncor
|
Implement voter for variadic groups. More...
#include <voter.hpp>
Public Member Functions | |
VariadicVoter (std::string label, std::string variadic) | |
void | emplace (VoterArgsT args, Symbol sym) override |
Implementation of iVoter. More... | |
CandsT | inspect (const CandArgsT &args) const override |
Implementation of iVoter. More... | |
![]() | |
virtual | ~iVoter (void)=default |
Public Attributes | |
std::string | label_ |
Label type of group. More... | |
std::string | variadic_ |
Symbol of variadic argument. More... | |
std::unordered_map< SegVArgs, Symbol, CommHasher > | args_ |
Map functor arguments to emplaced symbols. More... | |
Implement voter for variadic groups.
|
inline |
|
inlineoverridevirtual |
Implementation of iVoter.
Implements opt::iVoter.
Implementation of iVoter.
Implements opt::iVoter.
std::unordered_map<SegVArgs,Symbol,CommHasher> opt::VariadicVoter::args_ |
Map functor arguments to emplaced symbols.
std::string opt::VariadicVoter::label_ |
Label type of group.
std::string opt::VariadicVoter::variadic_ |
Symbol of variadic argument.