15 #ifndef HEXT_ATTRIBUTE_COUNT_MATCH_H_INCLUDED
16 #define HEXT_ATTRIBUTE_COUNT_MATCH_H_INCLUDED
48 :
public Cloneable<AttributeCountMatch, Match>
62 bool matches(
const GumboNode * node)
const noexcept
override;
66 unsigned int attribute_count_;
Defines template hext::Cloneable.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Matches HTML elements that have a certain amount of HTML attributes.
AttributeCountMatch(unsigned int attribute_count) noexcept
Constructs an AttributeCountMatch that matches HTML elements that have a certain amount of HTML attri...
bool matches(const GumboNode *node) const noexcept override
Returns true if node has exactly attribute_count amount of HTML attributes.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...