CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
cmsutils::_bqueue_itr< T > Class Template Reference

#include <bqueue.h>

Public Member Functions

bool operator!= (const _bqueue_itr< T > &t2) const
 
const Toperator* () const
 
_bqueue_itr< T > & operator++ ()
 
_bqueue_itr< T > & operator-- ()
 
const _bqueue_itr< T > & operator-- () const
 
const Toperator-> () const
 
const _bqueue_itr< T > & operator= (const _bqueue_itr< T > &t2)
 
bool operator== (const _bqueue_itr< T > &t2) const
 

Private Member Functions

 _bqueue_itr (const _bqueue_item< T > *t)
 

Private Attributes

_bqueue_item< T > const * it
 

Friends

class bqueue< T >
 

Detailed Description

template<class T>
class cmsutils::_bqueue_itr< T >

Definition at line 39 of file bqueue.h.

Constructor & Destructor Documentation

◆ _bqueue_itr()

template<class T >
cmsutils::_bqueue_itr< T >::_bqueue_itr ( const _bqueue_item< T > *  t)
inlineprivate

Definition at line 117 of file bqueue.h.

117 : it(t) {}
_bqueue_item< T > const * it
Definition: bqueue.h:118

Member Function Documentation

◆ operator!=()

template<class T >
bool cmsutils::_bqueue_itr< T >::operator!= ( const _bqueue_itr< T > &  t2) const
inline

Definition at line 107 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it, and RandomServiceHelper::t2.

107 { return t2.it != it; }
_bqueue_item< T > const * it
Definition: bqueue.h:118

◆ operator*()

template<class T >
const T& cmsutils::_bqueue_itr< T >::operator* ( void  ) const
inline

Definition at line 93 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it.

93 { return it->value; }
_bqueue_item< T > const * it
Definition: bqueue.h:118

◆ operator++()

template<class T >
_bqueue_itr<T>& cmsutils::_bqueue_itr< T >::operator++ ( void  )
inline

Definition at line 98 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it.

98  {
99  it = it->back.get();
100  return *this;
101  }
_bqueue_item< T > const * it
Definition: bqueue.h:118

◆ operator--() [1/2]

template<class T >
_bqueue_itr<T>& cmsutils::_bqueue_itr< T >::operator-- ( )
inline

Definition at line 94 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it.

94  {
95  it = it->back.get();
96  return *this;
97  }
_bqueue_item< T > const * it
Definition: bqueue.h:118

◆ operator--() [2/2]

template<class T >
const _bqueue_itr<T>& cmsutils::_bqueue_itr< T >::operator-- ( ) const
inline

Definition at line 102 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it.

102  {
103  it = it->back.get();
104  return *this;
105  }
_bqueue_item< T > const * it
Definition: bqueue.h:118

◆ operator->()

template<class T >
const T* cmsutils::_bqueue_itr< T >::operator-> ( ) const
inline

Definition at line 92 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it.

92 { return &it->value; }
_bqueue_item< T > const * it
Definition: bqueue.h:118

◆ operator=()

template<class T >
const _bqueue_itr<T>& cmsutils::_bqueue_itr< T >::operator= ( const _bqueue_itr< T > &  t2)
inline

Definition at line 109 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it, and RandomServiceHelper::t2.

109  {
110  it = t2.it;
111  return *this;
112  }
_bqueue_item< T > const * it
Definition: bqueue.h:118

◆ operator==()

template<class T >
bool cmsutils::_bqueue_itr< T >::operator== ( const _bqueue_itr< T > &  t2) const
inline

Definition at line 106 of file bqueue.h.

References cmsutils::_bqueue_itr< T >::it, and RandomServiceHelper::t2.

106 { return t2.it == it; }
_bqueue_item< T > const * it
Definition: bqueue.h:118

Friends And Related Function Documentation

◆ bqueue< T >

template<class T >
friend class bqueue< T >
friend

Definition at line 113 of file bqueue.h.

Member Data Documentation

◆ it

template<class T >
_bqueue_item<T> const* cmsutils::_bqueue_itr< T >::it
private