2 #include <score/model/tree/InvisibleRootNode.hpp>
4 #include <ossia/detail/nullable_variant.hpp>
21 template <
typename... Args>
50 return m_data.template target<T>() !=
nullptr;
54 const T* target()
const
56 return m_data.template target<T>();
62 return m_data.template target<T>();
74 return *m_data.template target<T>();
80 return *m_data.template target<T>();
83 auto which()
const {
return m_data.which(); }
85 auto& impl()
const {
return m_data; }
87 auto& impl() {
return m_data; }
89 bool operator==(
const VariantBasedNode& other)
const {
return m_data == other.m_data; }
The VariantBasedNode class.
Definition: VariantBasedNode.hpp:23
bool is() const
is Checks the type of the node.
Definition: VariantBasedNode.hpp:48
Base toolkit upon which the software is built.
Definition: Application.cpp:90
The InvisibleRootNodeTag struct.
Definition: InvisibleRootNode.hpp:11