Class Filter::iterator

Nested Relationships

This class is a nested type of Class In::Filter.

Class Documentation

class flamegpu::MessageSpatial2D::In::Filter::iterator

Stock iterator for iterating MessageSpatial3D::In::Filter::Message objects

Public Functions

__device__ inline iterator(const Filter &parent, const int &relative_cell_y, const int &_cell_index_max, const int &_cell_index)

Constructor This iterator is constructed by MessageSpatial2D::In::Filter::begin()(float, float)

See

MessageSpatial2D::In::Operator()(float, float)

__device__ inline iterator(const Filter &parent)

False constructor Only used by Filter::end(), creates a null objct

__device__ inline iterator &operator++()

Moves to the next message (Prefix increment operator)

__device__ inline iterator operator++(int)

Moves to the next message (Postfix increment operator, returns value prior to increment)

__device__ inline bool operator==(const iterator &rhs) const

Equality operator Compares message

__device__ inline bool operator!=(const iterator &rhs) const

Inequality operator Compares message

__device__ inline Message &operator*()

Dereferences the iterator to return the message object, for accessing variables

__device__ inline Message *operator->()

Dereferences the iterator to return the message object, for accessing variables