CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

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.

107 { return t2.it != it; }
_bqueue_item< T > const * it
Definition: bqueue.h:118
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
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
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
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
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
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.

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

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

Friends And Related Function Documentation

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

Definition at line 113 of file bqueue.h.

Member Data Documentation

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