14#include "AAssSelector.h"
17 template <
typename L,
typename R>
24 AndSelector(L l, R r) : l(std::move(l)), r(std::move(r)) {}
26 bool isPossiblyApplicable(
AView* view)
override {
27 return l.isPossiblyApplicable(view) && r.isPossiblyApplicable(view);
30 bool isStateApplicable(
AView* view)
override {
31 return l.isStateApplicable(view) && r.isStateApplicable(view);
35 l.setupConnections(view, helper);
36 r.setupConnections(view, helper);
52 template <aui::derived_from<IAssSubSelector> L, aui::derived_from<IAssSubSelector> R>
Base class of all UI objects.
Definition AView.h:78
An std::weak_ptr with AUI extensions.
Definition SharedPtrTypes.h:178
Definition AAssSelector.h:28
AndSelector< L, R > operator&&(L l, R r)
Makes a selector that applies two selectors.
Definition AndSelector.h:53
Definition AndSelector.h:18