Class AgentVector::const_iterator

Nested Relationships

This class is a nested type of Class AgentVector.

Class Documentation

class flamegpu::AgentVector::const_iterator

Basic AgentVectors forward const iterator Provides const access to members of the vector, in front-to-back order.

See

AgentVector::cbegin()

See

AgentVector::cend()

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