Function scoped_world

Summary

#include <include/flecs/addons/cpp/world.hpp>

(1) scoped_world(flecs::world_t *w, flecs::entity_t s)

(2) scoped_world(const scoped_world &obj)

Function overload

Synopsis

#include <include/flecs/addons/cpp/world.hpp>

scoped_world(flecs::world_t *w, flecs::entity_t s)

Description

No description yet.

Source

Lines 875-882 in include/flecs/addons/cpp/world.hpp.

scoped_world(
    flecs::world_t *w, 
    flecs::entity_t s) : world(nullptr)
{
    m_prev_scope = ecs_set_scope(w, s);
    m_world = w;
    m_owned = false;
}

Synopsis

#include <include/flecs/addons/cpp/world.hpp>

scoped_world(const scoped_world &obj)

Description

No description yet.

Source

Lines 888-892 in include/flecs/addons/cpp/world.hpp.

scoped_world(const scoped_world& obj) : world(nullptr) {
    m_prev_scope = obj.m_prev_scope;
    m_world = obj.m_world;
    m_owned = obj.m_owned;
}