Template Class LiveCellExceptFocalRootIDIterator

Inheritance Relationships

Base Type

  • public emp::vector::const_iterator< dish2::Cell< Spec > >

Class Documentation

template<typename Spec>
class dish2::LiveCellExceptFocalRootIDIterator : public emp::vector::const_iterator<dish2::Cell<Spec>>

Public Types

using value_type = dish2::Cell<Spec>
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

LiveCellExceptFocalRootIDIterator(const LiveCellExceptFocalRootIDIterator&) = default
const value_type &operator*() const
const value_type *operator->() const
LiveCellExceptFocalRootIDIterator &operator++()
LiveCellExceptFocalRootIDIterator operator++(int)
LiveCellExceptFocalRootIDIterator &operator--()
LiveCellExceptFocalRootIDIterator operator--(int)
bool operator==(const LiveCellExceptFocalRootIDIterator &other) const
bool operator!=(const LiveCellExceptFocalRootIDIterator &other) const
size_t CalcDistance(const parent_t &from) const

Public Static Functions

LiveCellExceptFocalRootIDIterator make_begin(const emp::vector<dish2::Cell<Spec>> &population, const size_t focal_root_id_)
LiveCellExceptFocalRootIDIterator make_end(const emp::vector<dish2::Cell<Spec>> &population, const size_t focal_root_id_)