Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::interface5::internal::solist_iterator< Solist, Value > Class Template Reference

#include <_concurrent_unordered_impl.h>

Inheritance diagram for tbb::interface5::internal::solist_iterator< Solist, Value >:
Collaboration diagram for tbb::interface5::internal::solist_iterator< Solist, Value >:

Public Types

typedef Solist::value_type value_type
 
typedef Solist::difference_type difference_type
 
typedef Solist::pointer pointer
 
typedef Solist::reference reference
 
- Public Types inherited from tbb::interface5::internal::flist_iterator< Solist, Value >
typedef Solist::value_type value_type
 
typedef Solist::difference_type difference_type
 
typedef Solist::pointer pointer
 
typedef Solist::reference reference
 

Public Member Functions

 solist_iterator ()
 
 solist_iterator (const solist_iterator< Solist, typename Solist::value_type > &other)
 
reference operator* () const
 
pointer operator-> () const
 
solist_iteratoroperator++ ()
 
solist_iterator operator++ (int)
 
- Public Member Functions inherited from tbb::interface5::internal::flist_iterator< Solist, Value >
 flist_iterator ()
 
 flist_iterator (const flist_iterator< Solist, typename Solist::value_type > &other)
 
reference operator* () const
 
pointer operator-> () const
 
flist_iteratoroperator++ ()
 
flist_iterator operator++ (int)
 

Private Types

typedef flist_iterator< Solist, Value > base_type
 
typedef Solist::nodeptr_t nodeptr_t
 

Private Member Functions

 solist_iterator (nodeptr_t pnode, const Solist *plist)
 
nodeptr_t get_node_ptr () const
 

Private Attributes

const Solist * my_list_ptr
 

Friends

template<typename T , typename Allocator >
class split_ordered_list
 
template<class M , typename V >
class solist_iterator
 
template<typename Traits >
class concurrent_unordered_base
 
template<typename M , typename T , typename U >
bool operator== (const solist_iterator< M, T > &i, const solist_iterator< M, U > &j)
 
template<typename M , typename T , typename U >
bool operator!= (const solist_iterator< M, T > &i, const solist_iterator< M, U > &j)
 

Additional Inherited Members

- Protected Member Functions inherited from tbb::interface5::internal::flist_iterator< Solist, Value >
 flist_iterator (nodeptr_t pnode)
 
nodeptr_t get_node_ptr () const
 
- Protected Attributes inherited from tbb::interface5::internal::flist_iterator< Solist, Value >
nodeptr_t my_node_ptr
 

Detailed Description

template<class Solist, typename Value>
class tbb::interface5::internal::solist_iterator< Solist, Value >

Definition at line 120 of file _concurrent_unordered_impl.h.

Member Typedef Documentation

◆ base_type

template<class Solist, typename Value>
typedef flist_iterator<Solist, Value> tbb::interface5::internal::solist_iterator< Solist, Value >::base_type
private

Definition at line 122 of file _concurrent_unordered_impl.h.

◆ difference_type

template<class Solist, typename Value>
typedef Solist::difference_type tbb::interface5::internal::solist_iterator< Solist, Value >::difference_type

Definition at line 141 of file _concurrent_unordered_impl.h.

◆ nodeptr_t

template<class Solist, typename Value>
typedef Solist::nodeptr_t tbb::interface5::internal::solist_iterator< Solist, Value >::nodeptr_t
private

Definition at line 123 of file _concurrent_unordered_impl.h.

◆ pointer

template<class Solist, typename Value>
typedef Solist::pointer tbb::interface5::internal::solist_iterator< Solist, Value >::pointer

Definition at line 142 of file _concurrent_unordered_impl.h.

◆ reference

template<class Solist, typename Value>
typedef Solist::reference tbb::interface5::internal::solist_iterator< Solist, Value >::reference

Definition at line 143 of file _concurrent_unordered_impl.h.

◆ value_type

template<class Solist, typename Value>
typedef Solist::value_type tbb::interface5::internal::solist_iterator< Solist, Value >::value_type

Definition at line 140 of file _concurrent_unordered_impl.h.

Constructor & Destructor Documentation

◆ solist_iterator() [1/3]

template<class Solist, typename Value>
tbb::interface5::internal::solist_iterator< Solist, Value >::solist_iterator ( nodeptr_t  pnode,
const Solist *  plist 
)
inlineprivate

Definition at line 137 of file _concurrent_unordered_impl.h.

◆ solist_iterator() [2/3]

template<class Solist, typename Value>
tbb::interface5::internal::solist_iterator< Solist, Value >::solist_iterator ( )
inline

Definition at line 145 of file _concurrent_unordered_impl.h.

145 {}

◆ solist_iterator() [3/3]

template<class Solist, typename Value>
tbb::interface5::internal::solist_iterator< Solist, Value >::solist_iterator ( const solist_iterator< Solist, typename Solist::value_type > &  other)
inline

Definition at line 146 of file _concurrent_unordered_impl.h.

147  : base_type(other), my_list_ptr(other.my_list_ptr) {}

Member Function Documentation

◆ get_node_ptr()

◆ operator*()

template<class Solist, typename Value>
reference tbb::interface5::internal::solist_iterator< Solist, Value >::operator* ( ) const
inline

Definition at line 149 of file _concurrent_unordered_impl.h.

149  {
150  return this->base_type::operator*();
151  }

References tbb::interface5::internal::flist_iterator< Solist, Value >::operator*().

Here is the call graph for this function:

◆ operator++() [1/2]

template<class Solist, typename Value>
solist_iterator& tbb::interface5::internal::solist_iterator< Solist, Value >::operator++ ( )
inline

Definition at line 157 of file _concurrent_unordered_impl.h.

157  {
158  do ++(*(base_type *)this);
159  while (get_node_ptr() != NULL && get_node_ptr()->is_dummy());
160 
161  return (*this);
162  }

References tbb::interface5::internal::flist_iterator< Solist, Value >::get_node_ptr().

Here is the call graph for this function:

◆ operator++() [2/2]

template<class Solist, typename Value>
solist_iterator tbb::interface5::internal::solist_iterator< Solist, Value >::operator++ ( int  )
inline

Definition at line 164 of file _concurrent_unordered_impl.h.

164  {
165  solist_iterator tmp = *this;
166  do ++*this;
167  while (get_node_ptr() != NULL && get_node_ptr()->is_dummy());
168 
169  return (tmp);
170  }

References tbb::interface5::internal::flist_iterator< Solist, Value >::get_node_ptr().

Here is the call graph for this function:

◆ operator->()

template<class Solist, typename Value>
pointer tbb::interface5::internal::solist_iterator< Solist, Value >::operator-> ( ) const
inline

Definition at line 153 of file _concurrent_unordered_impl.h.

153  {
154  return (&**this);
155  }

Friends And Related Function Documentation

◆ concurrent_unordered_base

template<class Solist, typename Value>
template<typename Traits >
friend class concurrent_unordered_base
friend

Definition at line 130 of file _concurrent_unordered_impl.h.

◆ operator!=

template<class Solist, typename Value>
template<typename M , typename T , typename U >
bool operator!= ( const solist_iterator< M, T > &  i,
const solist_iterator< M, U > &  j 
)
friend

◆ operator==

template<class Solist, typename Value>
template<typename M , typename T , typename U >
bool operator== ( const solist_iterator< M, T > &  i,
const solist_iterator< M, U > &  j 
)
friend

◆ solist_iterator

template<class Solist, typename Value>
template<class M , typename V >
friend class solist_iterator
friend

Definition at line 128 of file _concurrent_unordered_impl.h.

◆ split_ordered_list

template<class Solist, typename Value>
template<typename T , typename Allocator >
friend class split_ordered_list
friend

Definition at line 126 of file _concurrent_unordered_impl.h.

Member Data Documentation

◆ my_list_ptr


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

Copyright © 2005-2019 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.