20#ifndef LIBREPCB_CORE_TAGMATCHER_H
21#define LIBREPCB_CORE_TAGMATCHER_H
26#include "../types/tag.h"
Helper class to find the best option for given preferred tags.
Definition tagmatcher.h:44
TagMatcher(const TagMatcher &other)=delete
QVector< QSet< Tag > > mOptions
Definition tagmatcher.h:63
TagMatcher() noexcept
Definition tagmatcher.cpp:34
bool applyFilter(std::set< int > &filtered, const Tag &tag) const noexcept
Definition tagmatcher.cpp:63
~TagMatcher() noexcept
Definition tagmatcher.cpp:37
int addOption(const QSet< Tag > &tags) noexcept
Definition tagmatcher.cpp:44
int findFirstMatch(const QVector< Tag > &preferredTags) noexcept
Definition tagmatcher.cpp:50
Definition occmodel.cpp:77
type_safe::constrained_type< QString, TagConstraint, TagVerifier > Tag
Definition tag.h:82