UniRec 3.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes
NemeaPlusPlus::UnirecArray< T >::Iterator Class Reference

An iterator for the UnirecArray class. More...

#include <unirecArray.hpp>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = T
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 Iterator (pointer ptr)
 
reference operator* () const
 
pointer operator-> ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
T * data ()
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 

Private Attributes

pointer m_ptr
 

Detailed Description

template<typename T>
class NemeaPlusPlus::UnirecArray< T >::Iterator

An iterator for the UnirecArray class.

Definition at line 35 of file unirecArray.hpp.

Member Typedef Documentation

◆ difference_type

template<typename T >
using NemeaPlusPlus::UnirecArray< T >::Iterator::difference_type = std::ptrdiff_t

Definition at line 38 of file unirecArray.hpp.

◆ iterator_category

template<typename T >
using NemeaPlusPlus::UnirecArray< T >::Iterator::iterator_category = std::random_access_iterator_tag

Definition at line 37 of file unirecArray.hpp.

◆ pointer

template<typename T >
using NemeaPlusPlus::UnirecArray< T >::Iterator::pointer = value_type*

Definition at line 40 of file unirecArray.hpp.

◆ reference

template<typename T >
using NemeaPlusPlus::UnirecArray< T >::Iterator::reference = value_type&

Definition at line 41 of file unirecArray.hpp.

◆ value_type

template<typename T >
using NemeaPlusPlus::UnirecArray< T >::Iterator::value_type = T

Definition at line 39 of file unirecArray.hpp.

Constructor & Destructor Documentation

◆ Iterator()

template<typename T >
NemeaPlusPlus::UnirecArray< T >::Iterator::Iterator ( pointer  ptr)
inline

Definition at line 43 of file unirecArray.hpp.

Member Function Documentation

◆ data()

template<typename T >
T * NemeaPlusPlus::UnirecArray< T >::Iterator::data ( )
inline

Definition at line 63 of file unirecArray.hpp.

◆ operator!=()

template<typename T >
bool NemeaPlusPlus::UnirecArray< T >::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 66 of file unirecArray.hpp.

◆ operator*()

template<typename T >
reference NemeaPlusPlus::UnirecArray< T >::Iterator::operator* ( ) const
inline

Definition at line 48 of file unirecArray.hpp.

◆ operator++() [1/2]

template<typename T >
Iterator & NemeaPlusPlus::UnirecArray< T >::Iterator::operator++ ( )
inline

Definition at line 50 of file unirecArray.hpp.

◆ operator++() [2/2]

template<typename T >
Iterator NemeaPlusPlus::UnirecArray< T >::Iterator::operator++ ( int  )
inline

Definition at line 56 of file unirecArray.hpp.

◆ operator->()

template<typename T >
pointer NemeaPlusPlus::UnirecArray< T >::Iterator::operator-> ( )
inline

Definition at line 49 of file unirecArray.hpp.

◆ operator==()

template<typename T >
bool NemeaPlusPlus::UnirecArray< T >::Iterator::operator== ( const Iterator other) const
inline

Definition at line 65 of file unirecArray.hpp.

Field Documentation

◆ m_ptr

template<typename T >
pointer NemeaPlusPlus::UnirecArray< T >::Iterator::m_ptr
private

Definition at line 69 of file unirecArray.hpp.


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