Nui Engine
A game engine framework
Loading...
Searching...
No Matches
Nui::ECS::Internal::EntityView Class Reference

Class to represent a view over a range of entities in an ECS Context. More...

#include <Entity.h>

Public Member Functions

 EntityView (const EntityIterator &first, const EntityIterator &last)
 Initializes the view with iterator range.
 
const EntityIterator & begin () const
 Gets the beginning of the view.
 
const EntityIterator & end () const
 Gets the end of the view.
 

Detailed Description

Class to represent a view over a range of entities in an ECS Context.

Constructor & Destructor Documentation

◆ EntityView()

Nui::ECS::Internal::EntityView::EntityView ( const EntityIterator & first,
const EntityIterator & last )
inline

Initializes the view with iterator range.

Parameters
firstIterator to the first entity
lastIterator to the last entity

Member Function Documentation

◆ begin()

const EntityIterator & Nui::ECS::Internal::EntityView::begin ( ) const
inline

Gets the beginning of the view.

Returns
Begin iterator

◆ end()

const EntityIterator & Nui::ECS::Internal::EntityView::end ( ) const
inline

Gets the end of the view.

Returns
End iterator

The documentation for this class was generated from the following file: