My Project
Public Member Functions | List of all members
mlir::DenseElementsAttr::AttributeElementIterator Class Reference

#include <Attributes.h>

Inheritance diagram for mlir::DenseElementsAttr::AttributeElementIterator:
Inheritance graph
[legend]
Collaboration diagram for mlir::DenseElementsAttr::AttributeElementIterator:
Collaboration graph
[legend]

Public Member Functions

Attribute operator* () const
 Accesses the Attribute value at this iterator position. More...
 
- Public Member Functions inherited from mlir::indexed_accessor_iterator< AttributeElementIterator, const void *, Attribute, Attribute, Attribute >
ptrdiff_t operator- (const indexed_accessor_iterator &rhs) const
 
bool operator== (const indexed_accessor_iterator &rhs) const
 
bool operator< (const indexed_accessor_iterator &rhs) const
 
AttributeElementIterator & operator+= (ptrdiff_t offset)
 
AttributeElementIterator & operator-= (ptrdiff_t offset)
 
ptrdiff_t getIndex () const
 Returns the current index of the iterator. More...
 
const const void * & getBase () const
 Returns the current base of the iterator. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::indexed_accessor_iterator< AttributeElementIterator, const void *, Attribute, Attribute, Attribute >
 indexed_accessor_iterator (const void * base, ptrdiff_t index)
 
- Protected Attributes inherited from mlir::indexed_accessor_iterator< AttributeElementIterator, const void *, Attribute, Attribute, Attribute >
const void * base
 
ptrdiff_t index
 

Detailed Description

A utility iterator that allows walking over the internal Attribute values of a DenseElementsAttr.

Member Function Documentation

◆ operator*()

Attribute DenseElementsAttr::AttributeElementIterator::operator* ( void  ) const

Accesses the Attribute value at this iterator position.


The documentation for this class was generated from the following files: