magpie
Loading...
Searching...
No Matches
magpie::dsa::StandardNode< Value > Struct Template Reference
Inheritance diagram for magpie::dsa::StandardNode< Value >:
Collaboration diagram for magpie::dsa::StandardNode< Value >:

Public Member Functions

 StandardNode (const std::string &segment)
MatchMode match (const std::string_view &segment) override
virtual constexpr bool operator== (const std::string_view &pathSegment) override

Public Attributes

std::string segment
Public Attributes inherited from magpie::dsa::Node< Value >
std::unordered_map< Method::HttpMethod, Value > value
int weight
std::vector< std::shared_ptr< Node< Value > > > childNodes

Member Function Documentation

◆ match()

template<typename Value>
MatchMode magpie::dsa::StandardNode< Value >::match ( const std::string_view & segment)
inlineoverridevirtual

◆ operator==()

template<typename Value>
virtual constexpr bool magpie::dsa::StandardNode< Value >::operator== ( const std::string_view & pathSegment)
inlineconstexproverridevirtual

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