Union::SelectorList Class
class Union::SelectorListA list of Union::Selector. More...
Header: | #include <SelectorList> |
CMake: | find_package(Union REQUIRED) target_link_libraries(mytarget PRIVATE Union::Union) |
Inherits: | QList |
Public Functions
Related Non-Members
QDebug | operator<<(QDebug debug, const Union::SelectorList &selectors) |
Detailed Description
Member Function Documentation
bool SelectorList::matches(const QList<std::shared_ptr<Union::Element>> &elements) const
Returns if the selectors in this list match the list of elements.
int SelectorList::weight() const
Returns the combined weight of all the selectors in the list.
Related Non-Members
QDebug operator<<(QDebug debug, const Union::SelectorList &selectors)
QDebug support for SelectorList.