Class world_filter

Synopsis

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

class world_filter

Description

No description yet.

Methods

world_filter
begin
end

Source

Lines 59-74 in include/flecs/addons/cpp/filter_iterator.hpp.

class world_filter {
public:
    world_filter(const world& world) 
        : m_world( world ) { }

    inline filter_iterator begin() const {
        return filter_iterator(m_world, ecs_filter_next);
    }

    inline filter_iterator end() const {
        return filter_iterator(ecs_filter_next);
    }

private:
    const world& m_world;
};