Class AgentVector::const_iterator

Nested Relationships

This class is a nested type of Class AgentVector.

Inheritance Relationships

Base Type

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

Class Documentation

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

Public Functions

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