HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::ConstPointerContainer< Container >::ConstIterator Class Reference

#include <const_pointer_container.h>

Public Types

using const_iterator = typename Container::const_iterator
 
using iterator_category = std::input_iterator_tag
 
using value_type = T *
 
using difference_type = std::ptrdiff_t
 
using pointer = T **
 
using reference = T *&
 

Public Member Functions

 ConstIterator (const_iterator position) noexcept
 
 ConstIterator (const ConstIterator &other)=default
 
ConstIteratoroperator= (const ConstIterator &other)=default
 
bool operator== (const ConstIterator &other) const noexcept
 
bool operator!= (const ConstIterator &other) const noexcept
 
ConstIteratoroperator++ ()
 
ConstIterator operator++ (int)
 
const T *& operator* () const
 
const T ** operator-> () const
 

Detailed Description

template<typename Container>
class onnxruntime::ConstPointerContainer< Container >::ConstIterator

Definition at line 20 of file const_pointer_container.h.

Member Typedef Documentation

template<typename Container >
using onnxruntime::ConstPointerContainer< Container >::ConstIterator::const_iterator = typename Container::const_iterator

Definition at line 22 of file const_pointer_container.h.

template<typename Container >
using onnxruntime::ConstPointerContainer< Container >::ConstIterator::difference_type = std::ptrdiff_t

Definition at line 25 of file const_pointer_container.h.

template<typename Container >
using onnxruntime::ConstPointerContainer< Container >::ConstIterator::iterator_category = std::input_iterator_tag

Definition at line 23 of file const_pointer_container.h.

template<typename Container >
using onnxruntime::ConstPointerContainer< Container >::ConstIterator::pointer = T**

Definition at line 26 of file const_pointer_container.h.

template<typename Container >
using onnxruntime::ConstPointerContainer< Container >::ConstIterator::reference = T*&

Definition at line 27 of file const_pointer_container.h.

template<typename Container >
using onnxruntime::ConstPointerContainer< Container >::ConstIterator::value_type = T*

Definition at line 24 of file const_pointer_container.h.

Constructor & Destructor Documentation

template<typename Container >
onnxruntime::ConstPointerContainer< Container >::ConstIterator::ConstIterator ( const_iterator  position)
inlineexplicitnoexcept

Construct iterator for container that will return const T* entries.

Definition at line 30 of file const_pointer_container.h.

template<typename Container >
onnxruntime::ConstPointerContainer< Container >::ConstIterator::ConstIterator ( const ConstIterator other)
default

Member Function Documentation

template<typename Container >
bool onnxruntime::ConstPointerContainer< Container >::ConstIterator::operator!= ( const ConstIterator other) const
inlinenoexcept

Definition at line 35 of file const_pointer_container.h.

template<typename Container >
const T*& onnxruntime::ConstPointerContainer< Container >::ConstIterator::operator* ( ) const
inline

Definition at line 48 of file const_pointer_container.h.

template<typename Container >
ConstIterator& onnxruntime::ConstPointerContainer< Container >::ConstIterator::operator++ ( )
inline

Definition at line 37 of file const_pointer_container.h.

template<typename Container >
ConstIterator onnxruntime::ConstPointerContainer< Container >::ConstIterator::operator++ ( int  )
inline

Definition at line 42 of file const_pointer_container.h.

template<typename Container >
const T** onnxruntime::ConstPointerContainer< Container >::ConstIterator::operator-> ( ) const
inline

Definition at line 53 of file const_pointer_container.h.

template<typename Container >
ConstIterator& onnxruntime::ConstPointerContainer< Container >::ConstIterator::operator= ( const ConstIterator other)
default
template<typename Container >
bool onnxruntime::ConstPointerContainer< Container >::ConstIterator::operator== ( const ConstIterator other) const
inlinenoexcept

Definition at line 34 of file const_pointer_container.h.


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