entity
Entity/Component System for C++
entity::entity_skipping_iterator< EntityListIterator, ZippedComponentWindows > Class Template Reference

Description

template<typename EntityListIterator, typename ZippedComponentWindows>
class entity::entity_skipping_iterator< EntityListIterator, ZippedComponentWindows >

Definition at line 89 of file entity_range.hpp.

+ Inheritance diagram for entity::entity_skipping_iterator< EntityListIterator, ZippedComponentWindows >:

Friends

class boost::iterator_core_access
 

Public Member Functions

 entity_skipping_iterator (EntityListIterator begin, EntityListIterator end, ZippedComponentWindows windows)
 
entity get_entity () const
 

Methods

template<typename EntityListIterator , typename ZippedComponentWindows >
friend class boost::iterator_core_access
friend

Definition at line 117 of file entity_range.hpp.

Member Function Documentation

template<typename EntityListIterator , typename ZippedComponentWindows >
entity entity::entity_skipping_iterator< EntityListIterator, ZippedComponentWindows >::get_entity ( ) const

Definition at line 110 of file entity_range.hpp.

111  {
112  return *entity_iter_;
113  }

Constructor & Destructor Documentation

template<typename EntityListIterator , typename ZippedComponentWindows >
entity::entity_skipping_iterator< EntityListIterator, ZippedComponentWindows >::entity_skipping_iterator ( EntityListIterator  begin,
EntityListIterator  end,
ZippedComponentWindows  windows 
)

Definition at line 99 of file entity_range.hpp.

100  : entity_iter_(begin)
101  , end_(end)
102  , windows_(windows)
103  {
104  if(entity_iter_ != end_)
105  {
106  windows_.advance(*entity_iter_);
107  }
108  }
entity_pool::iterator end(entity_pool const &p)
entity_pool::iterator begin(entity_pool const &p)