STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Friends | List of all members
Concurrency::details::_Concurrent_queue_iterator< _Container, _Value > Class Template Reference

#include <concurrent_queue.h>

Inheritance diagram for Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >:
Concurrency::details::_Concurrent_queue_iterator_base_v4

Public Member Functions

 _Concurrent_queue_iterator ()
 
 _Concurrent_queue_iterator (const _Concurrent_queue_iterator< _Container, typename _Container::value_type > &_Other)
 
_Concurrent_queue_iteratoroperator= (const _Concurrent_queue_iterator &_Other)
 
_Valueoperator* () const
 
_Valueoperator-> () const
 
_Concurrent_queue_iteratoroperator++ ()
 
_Concurrent_queue_iterator operator++ (int)
 

Private Member Functions

 _Concurrent_queue_iterator (const _Concurrent_queue_base &_Queue)
 

Friends

template<typename _Ty , class _Ax >
class ::Concurrency::concurrent_queue
 

Additional Inherited Members

- Protected Member Functions inherited from Concurrency::details::_Concurrent_queue_iterator_base_v4
 _Concurrent_queue_iterator_base_v4 ()
 
 _Concurrent_queue_iterator_base_v4 (const _Concurrent_queue_iterator_base_v4 &_I)
 
_CRTIMP2 _Concurrent_queue_iterator_base_v4 (const _Concurrent_queue_base &)
 
_CRTIMP2 void _Assign (const _Concurrent_queue_iterator_base_v4 &)
 
_CRTIMP2 void _Advance ()
 
_CRTIMP2 ~_Concurrent_queue_iterator_base_v4 ()
 
- Protected Attributes inherited from Concurrency::details::_Concurrent_queue_iterator_base_v4
void_My_item
 

Detailed Description

template<typename _Container, typename _Value>
class Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >

_Value is either the _Ty or const _Ty type of the container.

Constructor & Destructor Documentation

template<typename _Container, typename _Value>
Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::_Concurrent_queue_iterator ( const _Concurrent_queue_base _Queue)
inlineprivate
262  {
263  }
_Concurrent_queue_iterator_base_v4()
Definition: concurrent_queue.h:225
template<typename _Container, typename _Value>
Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::_Concurrent_queue_iterator ( )
inline
266  {
267  }
template<typename _Container, typename _Value>
Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::_Concurrent_queue_iterator ( const _Concurrent_queue_iterator< _Container, typename _Container::value_type > &  _Other)
inline

If _Value==_Container::value_type, then this routine is the copy constructor. If _Value==const _Container::value_type, then this routine is a conversion constructor.

273  {
274  }
_Concurrent_queue_iterator_base_v4()
Definition: concurrent_queue.h:225

Member Function Documentation

template<typename _Container, typename _Value>
_Value& Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::operator* ( ) const
inline
285  {
286  return *static_cast<_Value*>(_My_item);
287  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
void * _My_item
Definition: concurrent_queue.h:222
template<typename _Container, typename _Value>
_Concurrent_queue_iterator& Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::operator++ ( )
inline
296  {
297  _Advance();
298  return *this;
299  }
template<typename _Container, typename _Value>
_Concurrent_queue_iterator Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::operator++ ( int  )
inline
303  {
304  _Concurrent_queue_iterator _Result = *this;
305  _Advance();
306  return _Result;
307  }
_Concurrent_queue_iterator()
Definition: concurrent_queue.h:265
template<typename _Container, typename _Value>
_Value* Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::operator-> ( ) const
inline
290  {
291  return &operator*();
292  }
_Value & operator*() const
Definition: concurrent_queue.h:284
template<typename _Container, typename _Value>
_Concurrent_queue_iterator& Concurrency::details::_Concurrent_queue_iterator< _Container, _Value >::operator= ( const _Concurrent_queue_iterator< _Container, _Value > &  _Other)
inline
278  {
279  _Assign(_Other);
280  return *this;
281  }
_CRTIMP2 void _Assign(const _Concurrent_queue_iterator_base_v4 &)

Friends And Related Function Documentation

template<typename _Container, typename _Value>
template<typename _Ty , class _Ax >
friend class ::Concurrency::concurrent_queue
friend

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