Halide
Halide::Runtime::Buffer< T, D >::Dimension::iterator Struct Reference

An iterator class, so that you can iterate over coordinates in a dimensions using a range-based for loop. More...

#include <HalideBuffer.h>

Public Member Functions

int operator* () const
 
bool operator!= (const iterator &other) const
 
iteratoroperator++ ()
 

Public Attributes

int val
 

Detailed Description

template<typename T = void, int D = 4>
struct Halide::Runtime::Buffer< T, D >::Dimension::iterator

An iterator class, so that you can iterate over coordinates in a dimensions using a range-based for loop.

Definition at line 467 of file HalideBuffer.h.

Member Function Documentation

◆ operator*()

template<typename T = void, int D = 4>
int Halide::Runtime::Buffer< T, D >::Dimension::iterator::operator* ( ) const
inline

◆ operator!=()

template<typename T = void, int D = 4>
bool Halide::Runtime::Buffer< T, D >::Dimension::iterator::operator!= ( const iterator other) const
inline

◆ operator++()

template<typename T = void, int D = 4>
iterator& Halide::Runtime::Buffer< T, D >::Dimension::iterator::operator++ ( )
inline

Member Data Documentation

◆ val


The documentation for this struct was generated from the following file: