Class OutEdgeFilter::iterator

Nested Relationships

This class is a nested type of Class DeviceEnvironmentDirectedGraph::OutEdgeFilter.

Class Documentation

class iterator

Stock iterator for iterating DeviceEnvironmentDirectedGraph::Edge objects

Public Functions

__device__ inline iterator(const OutEdgeFilter &parent, const unsigned int &cell_index)

Constructor This iterator is constructed by DeviceEnvironmentDirectedGraph::OutEdgeFilter::begin()(id_t)

__device__ inline iterator &operator++()

Moves to the next edge (Prefix increment operator)

__device__ inline iterator operator++(int)

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

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

Equality operator Compares edge

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

Inequality operator Compares edge

__device__ inline Edge &operator*()

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

__device__ inline Edge *operator->()

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