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

#include <Lexicon.h>

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

Public Member Functions

 Item (E value, TextView name)
 

Public Attributes

Pair _payload
 Enumeration and name.
 

Detailed Description

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

Each unique pair of value and name is stored as an instance of this class. The primary is stored first and is therefore found by normal lookup.

Definition at line 472 of file Lexicon.h.

Constructor & Destructor Documentation

◆ Item()

template<typename E>
swoc::Lexicon< E >::Item::Item ( E value,
TextView name )

Construct with a name and a primary value.

Parameters
valueThe primary value.
nameThe name.

Definition at line 529 of file Lexicon.h.

Member Data Documentation

◆ _payload

template<typename E>
Pair swoc::Lexicon< E >::Item::_payload

Enumeration and name.

Definition at line 481 of file Lexicon.h.


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