18#include <AUI/Util/kAUI.h>
19#include <AUI/View/AView.h>
20#include <AUI/ASS/AAssHelper.h>
31 struct Type : IAssSubSelector {
32 static_assert(std::is_polymorphic_v<T>,
"Your type is not polymorphic! Please define at least virtual "
33 "destructor for using type_of (t) style selector "
34 "(see https://en.cppreference.com/w/cpp/language/object#Polymorphic_objects)");
36 bool isPossiblyApplicable(AView* view)
override {
37 return dynamic_cast<T*
>(view) !=
nullptr;
type_of< T > t
Selects views that are of the specified C++ types.
Definition type_of.h:71
Definition activated.h:21