tvm
Public Member Functions | List of all members
tvm::runtime::metadata::ArrayIterator< C, Ref > Class Template Reference

An iterator implementation that lazily instantiates the C++ wrapping Metadata class. More...

#include <metadata_base.h>

Collaboration diagram for tvm::runtime::metadata::ArrayIterator< C, Ref >:

Public Member Functions

 ArrayIterator (size_t index, const ArrayAccessor< C, Ref > *parent)
 
Ref operator* ()
 
ArrayIterator< C, Ref > & operator++ ()
 
bool operator== (const ArrayIterator< C, Ref > &other) const
 
bool operator!= (const ArrayIterator< C, Ref > &other) const
 

Detailed Description

template<typename C, class Ref>
class tvm::runtime::metadata::ArrayIterator< C, Ref >

An iterator implementation that lazily instantiates the C++ wrapping Metadata class.

Constructor & Destructor Documentation

◆ ArrayIterator()

template<typename C , class Ref >
tvm::runtime::metadata::ArrayIterator< C, Ref >::ArrayIterator ( size_t  index,
const ArrayAccessor< C, Ref > *  parent 
)
inline

Member Function Documentation

◆ operator!=()

template<typename C , class Ref >
bool tvm::runtime::metadata::ArrayIterator< C, Ref >::operator!= ( const ArrayIterator< C, Ref > &  other) const
inline

◆ operator*()

template<typename C , class Ref >
Ref tvm::runtime::metadata::ArrayIterator< C, Ref >::operator* ( )
inline

◆ operator++()

template<typename C , class Ref >
ArrayIterator<C, Ref>& tvm::runtime::metadata::ArrayIterator< C, Ref >::operator++ ( )
inline

◆ operator==()

template<typename C , class Ref >
bool tvm::runtime::metadata::ArrayIterator< C, Ref >::operator== ( const ArrayIterator< C, Ref > &  other) const
inline

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