LibSWOC++ 1.5.14
Solid Wall of C++
Loading...
Searching...
No Matches
swoc::Lexicon< E >::ValueDefaultVisitor Struct Reference

Visitor functor for handling ValueDefault. More...

#include <Lexicon.h>

Collaboration diagram for swoc::Lexicon< E >::ValueDefaultVisitor:
Collaboration graph

Public Member Functions

operator() (std::monostate const &) const
 Vistor - invalid value.
 
operator() (E const &value) const
 Visitor - value.
 
operator() (UnknownNameHandler const &handler) const
 Visitor - value generator.
 

Public Attributes

std::string_view _name
 Name of visited pair.
 

Detailed Description

template<typename E>
struct swoc::Lexicon< E >::ValueDefaultVisitor

Visitor functor for handling ValueDefault.

Definition at line 448 of file Lexicon.h.

Member Function Documentation

◆ operator()() [1/3]

template<typename E>
E swoc::Lexicon< E >::ValueDefaultVisitor::operator() ( E const & value) const
inline

Visitor - value.

Definition at line 459 of file Lexicon.h.

◆ operator()() [2/3]

template<typename E>
E swoc::Lexicon< E >::ValueDefaultVisitor::operator() ( std::monostate const & ) const
inline

Vistor - invalid value.

Definition at line 453 of file Lexicon.h.

◆ operator()() [3/3]

template<typename E>
E swoc::Lexicon< E >::ValueDefaultVisitor::operator() ( UnknownNameHandler const & handler) const
inline

Visitor - value generator.

Definition at line 465 of file Lexicon.h.

Member Data Documentation

◆ _name

template<typename E>
std::string_view swoc::Lexicon< E >::ValueDefaultVisitor::_name

Name of visited pair.

Definition at line 449 of file Lexicon.h.


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