Template Class LiveCellIterator¶
Defined in File LiveCellIterator.hpp
Inheritance Relationships¶
Base Type¶
public emp::vector::const_iterator< dish2::Cell< Spec > >
Derived Type¶
public dish2::GenotypeConstWrapper< Spec >(Template Class GenotypeConstWrapper)
Class Documentation¶
-
template<typename
Spec>
classdish2::LiveCellIterator: public emp::vector::const_iterator<dish2::Cell<Spec>>¶ Subclassed by dish2::GenotypeConstWrapper< Spec >
Public Types
-
using
pointer= value_type*¶
-
using
reference= value_type&¶
-
using
iterator_category= std::forward_iterator_tag¶
-
using
difference_type= typename parent_t::difference_type¶
Public Functions
-
LiveCellIterator(const LiveCellIterator&) = default¶
-
const value_type &
operator*() const¶
-
const value_type *
operator->() const¶
-
LiveCellIterator &
operator++()¶
-
LiveCellIterator
operator++(int)¶
-
LiveCellIterator &
operator--()¶
-
LiveCellIterator
operator--(int)¶
-
bool
operator==(const LiveCellIterator &other) const¶
-
bool
operator!=(const LiveCellIterator &other) const¶
-
size_t
CalcDistance(const parent_t &from) const¶
Public Static Functions
-
LiveCellIterator
make_begin(const emp::vector<dish2::Cell<Spec>> &population)¶
-
LiveCellIterator
make_end(const emp::vector<dish2::Cell<Spec>> &population)¶
-
using