Function up

Summary

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

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

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

Function overload

Synopsis

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

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

Description

No description yet.

Mentioned in

Source

Lines 29-36 in include/flecs/addons/cpp/mixins/term/builder_i.hpp.

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

Synopsis

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

template <typename Trav>
Base & up()

Description

No description yet.

Mentioned in

Source

Lines 38-41 in include/flecs/addons/cpp/mixins/term/builder_i.hpp.

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