| 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(); } |
no outgoing calls