Loading...
Searching...
No Matches
TraceConcurrentList< T >::iterator Class Reference

This class provides forward iterator support to iterate over all the items. More...

#include <concurrentList.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value = T
 
using pointer = T*
 
using reference = T&
 
using difference_type = ptrdiff_t
 

Public Member Functions

pointer operator-> ()
 
reference operator* ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator!= (const iterator &other) const
 
bool operator== (const iterator &other) const
 

Friends

class TraceConcurrentList
 

Detailed Description

template<typename T>
class TraceConcurrentList< T >::iterator

This class provides forward iterator support to iterate over all the items.

Definition at line 43 of file concurrentList.h.

Member Typedef Documentation

◆ difference_type

template<typename T >
using difference_type = ptrdiff_t

Definition at line 50 of file concurrentList.h.

◆ iterator_category

template<typename T >
using iterator_category = std::forward_iterator_tag

Definition at line 46 of file concurrentList.h.

◆ pointer

template<typename T >
using pointer = T*

Definition at line 48 of file concurrentList.h.

◆ reference

template<typename T >
using reference = T&

Definition at line 49 of file concurrentList.h.

◆ value

template<typename T >
using value = T

Definition at line 47 of file concurrentList.h.

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
iterator ( )
inline

Definition at line 52 of file concurrentList.h.

Member Function Documentation

◆ operator!=()

template<typename T >
bool operator!= ( const iterator & other) const
inline

Definition at line 73 of file concurrentList.h.

◆ operator*()

template<typename T >
reference operator* ( )
inline

Definition at line 58 of file concurrentList.h.

◆ operator++() [1/2]

template<typename T >
iterator & operator++ ( )
inline

Definition at line 62 of file concurrentList.h.

◆ operator++() [2/2]

template<typename T >
iterator operator++ ( int )
inline

Definition at line 67 of file concurrentList.h.

◆ operator->()

template<typename T >
pointer operator-> ( )
inline

Definition at line 54 of file concurrentList.h.

◆ operator==()

template<typename T >
bool operator== ( const iterator & other) const
inline

Definition at line 77 of file concurrentList.h.

Friends And Related Symbol Documentation

◆ TraceConcurrentList

template<typename T >
friend class TraceConcurrentList
friend

Definition at line 84 of file concurrentList.h.


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