15 #ifndef HEXT_CAPTURE_H_INCLUDED
16 #define HEXT_CAPTURE_H_INCLUDED
55 virtual std::unique_ptr<
Capture> clone() const = 0;
59 virtual std::optional<
ResultPair> capture(const GumboNode * node) const = 0;
Typedefs for results returned from capturing HTML.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Abstract base for every Capture.
Capture() noexcept=default
std::pair< std::string, std::string > ResultPair
A string-pair containing a name and a value.