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

Public Member Functions

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

Additional Inherited Members

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, typename NodeType>
virtual MatchMode magpie::dsa::TemplateNode< Value, NodeType >::match ( const std::string_view & segment)
inlineoverridevirtual

◆ operator==()

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

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