Class AgentVector::iterator

Nested Relationships

This class is a nested type of Class AgentVector.

Inheritance Relationships

Base Type

  • public std::iterator< std::input_iterator_tag, Agent, size_type, const Agent *, Agent >

Class Documentation

class AgentVector::iterator : public std::iterator<std::input_iterator_tag, Agent, size_type, const Agent*, Agent>

Public Functions

inline operator AgentVector::const_iterator() const
inline iterator(AgentVector *parent, const std::shared_ptr<const AgentData> &agent, std::weak_ptr<AgentDataMap> data, size_type pos = 0)
inline iterator &operator++()
inline iterator operator++(int)
inline bool operator==(iterator other) const
inline bool operator!=(iterator other) const
Agent operator*() const