Function ECS_DEPRECATED

Synopsis

#include <include/flecs/cpp/impl/entity.hpp>

class ECS_DEPRECATED("do not use") entity_range final

Description

No description yet.

Source

Lines 9-22 in include/flecs/cpp/impl/entity.hpp. Line 1 in include/flecs/cpp/impl/entity.hpp.

class ECS_DEPRECATED("do not use") entity_range final {
public:
    entity_range(const world& world, int32_t count) 
        : m_world(world.c_ptr())
        , m_ids( ecs_bulk_new_w_type(m_world, nullptr, count)) { }

    entity_range(const world& world, int32_t count, flecs::type type) 
        : m_world(world.c_ptr())
        , m_ids( ecs_bulk_new_w_type(m_world, type.c_ptr(), count)) { }

private:
    world_t *m_world;
    const entity_t *m_ids;
};