15 #ifndef HEXT_NEGATE_MATCH_H_INCLUDED
16 #define HEXT_NEGATE_MATCH_H_INCLUDED
61 NegateMatch(std::vector<std::unique_ptr<Match>> v_matches = {}) noexcept;
77 void append_match(std::unique_ptr<
Match> match);
82 bool matches(const GumboNode * node) const override;
86 std::vector<std::unique_ptr<
Match>> matches_;
Defines template hext::Cloneable.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...
Abstract base for every Match.
Matches HTML nodes for which every given Match returns false.
~NegateMatch() noexcept override=default
NegateMatch(std::unique_ptr< Match > match)
Constructs a NegateMatch and appends a Match.
NegateMatch(std::vector< std::unique_ptr< Match >> v_matches={}) noexcept
Constructs a NegateMatch that matches nodes for which every contained Match returns false.