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 60 of file concurrentList.h.

Member Typedef Documentation

◆ difference_type

using difference_type = ptrdiff_t

Definition at line 67 of file concurrentList.h.

◆ iterator_category

using iterator_category = std::forward_iterator_tag

Definition at line 63 of file concurrentList.h.

◆ pointer

using pointer = T*

Definition at line 65 of file concurrentList.h.

◆ reference

using reference = T&

Definition at line 66 of file concurrentList.h.

◆ value

using value = T

Definition at line 64 of file concurrentList.h.

Constructor & Destructor Documentation

◆ iterator()

iterator ( )
inline

Definition at line 69 of file concurrentList.h.

Member Function Documentation

◆ operator!=()

bool operator!= ( const iterator other) const
inline

Definition at line 90 of file concurrentList.h.

◆ operator*()

reference operator* ( )
inline

Definition at line 75 of file concurrentList.h.

◆ operator++() [1/2]

iterator & operator++ ( )
inline

Definition at line 79 of file concurrentList.h.

◆ operator++() [2/2]

iterator operator++ ( int  )
inline

Definition at line 84 of file concurrentList.h.

◆ operator->()

pointer operator-> ( )
inline

Definition at line 71 of file concurrentList.h.

◆ operator==()

bool operator== ( const iterator other) const
inline

Definition at line 94 of file concurrentList.h.

Friends And Related Function Documentation

◆ TraceConcurrentList

friend class TraceConcurrentList
friend

Definition at line 101 of file concurrentList.h.


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