MCPcopy Create free account
hub / github.com/comaps/comaps / ForEachParam

Method ForEachParam

libs/coding/url.hpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28 template <class FnT>
29 void ForEachParam(FnT && fn) const
30 {
31 for (auto const & p : m_params)
32 fn(p.first, p.second);
33 }
34
35 using Param = std::pair<std::string, std::string>;
36 Param const * GetLastParam() const { return m_params.empty() ? nullptr : &m_params.back(); }

Callers 3

~TestUrlMethod · 0.80
SetUrlAndParseMethod · 0.80
ParseMethod · 0.80

Calls

no outgoing calls

Tested by 1

~TestUrlMethod · 0.64