Function cascade

Summary

#include <include/flecs/addons/cpp/mixins/term/builder_i.hpp>

(1) Base & cascade(flecs::entity_t trav=0)

(2) template <typename Trav>
    Base & cascade()

Function overload

Synopsis

#include <include/flecs/addons/cpp/mixins/term/builder_i.hpp>

Base & cascade(flecs::entity_t trav=0)

Description

No description yet.

Mentioned in

Source

Lines 45-52 in include/flecs/addons/cpp/mixins/term/builder_i.hpp.

Base& cascade(flecs::entity_t trav = 0) {
    this->assert_term_id();
    m_term_id->flags |= flecs::Cascade;
    if (trav) {
        m_term_id->trav = trav;
    }
    return *this;
}

Synopsis

#include <include/flecs/addons/cpp/mixins/term/builder_i.hpp>

template <typename Trav>
Base & cascade()

Description

No description yet.

Mentioned in

Source

Lines 54-57 in include/flecs/addons/cpp/mixins/term/builder_i.hpp.

template <typename Trav>
Base& cascade() {
    return this->cascade(_::cpp_type<Trav>::id(this->world_v()));
}