18#include "AAssSelector.h"
19#include <AUI/View/AViewContainer.h>
22 template <
typename L,
typename R>
31 bool isPossiblyApplicable(
AView* view)
override {
32 if (r.isPossiblyApplicable(view)) {
34 if (l.isPossiblyApplicable(v)) {
42 bool isStateApplicable(
AView* view)
override {
43 if (r.isStateApplicable(view)) {
45 if (l.isStateApplicable(v) && l.isPossiblyApplicable(v)) {
54 if (r.isPossiblyApplicable(view)) {
56 if (l.isPossiblyApplicable(v)) {
57 l.setupConnections(v, helper);
58 r.setupConnections(view, helper);
71 template <
typename L,
typename R, std::enable_if_t<std::is_base_of_v<IAssSubSelector, L> && std::is_base_of_v<IAssSubSelector, R>,
bool> = true>
72 ParentSubSelector<L, R> operator>>(L l, R r) {
73 return ParentSubSelector<L, R>(std::move(l), std::move(r));
Base class of all UI objects.
Definition: AView.h:77
AViewContainerBase * getParent() const
Parent AView.
Definition: AView.h:561
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177
Definition: AAssSelector.h:28
#define AUI_ASSERT(condition)
Asserts that the passed condition evaluates to true.
Definition: Assert.h:55
Definition: ParentSelector.h:23
void setupConnections(AView *view, const _< AAssHelper > &helper) override
Definition: ParentSelector.h:53