Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
SimpleQueue::iterator Class Reference

STL-compatible iterator for SimpleQueue. More...

#include <SimpleQueue.hxx>

Inheritance diagram for SimpleQueue::iterator:
SimpleQueue::typed_iterator< T >

Public Member Functions

 iterator (QMember **link)
 Constructor.
 
bool operator== (const iterator &o) const
 
bool operator== (const end_iterator &o) const
 
bool operator!= (const iterator &o) const
 
bool operator!= (const end_iterator &o) const
 
iteratoroperator++ ()
 
QMemberoperator-> ()
 
QMemberoperator* ()
 

Private Attributes

QMember ** link_
 **link == *this for the iterator semantics.
 

Friends

class SimpleQueue
 

Detailed Description

STL-compatible iterator for SimpleQueue.

Definition at line 84 of file SimpleQueue.hxx.

Constructor & Destructor Documentation

◆ iterator()

SimpleQueue::iterator::iterator ( QMember **  link)
inline

Constructor.

Parameters
linkpointer to link.

Definition at line 87 of file SimpleQueue.hxx.

Member Function Documentation

◆ operator!=() [1/2]

bool SimpleQueue::iterator::operator!= ( const end_iterator o) const
inline

Definition at line 103 of file SimpleQueue.hxx.

◆ operator!=() [2/2]

bool SimpleQueue::iterator::operator!= ( const iterator o) const
inline

Definition at line 99 of file SimpleQueue.hxx.

◆ operator*()

QMember & SimpleQueue::iterator::operator* ( )
inline

Definition at line 117 of file SimpleQueue.hxx.

◆ operator++()

iterator & SimpleQueue::iterator::operator++ ( )
inline

Definition at line 107 of file SimpleQueue.hxx.

◆ operator->()

QMember * SimpleQueue::iterator::operator-> ( )
inline

Definition at line 113 of file SimpleQueue.hxx.

◆ operator==() [1/2]

bool SimpleQueue::iterator::operator== ( const end_iterator o) const
inline

Definition at line 95 of file SimpleQueue.hxx.

◆ operator==() [2/2]

bool SimpleQueue::iterator::operator== ( const iterator o) const
inline

Definition at line 91 of file SimpleQueue.hxx.

Friends And Related Symbol Documentation

◆ SimpleQueue

friend class SimpleQueue
friend

Definition at line 122 of file SimpleQueue.hxx.

Member Data Documentation

◆ link_

QMember** SimpleQueue::iterator::link_
private

**link == *this for the iterator semantics.

Points to the pointer **to the entry **this.

Definition at line 126 of file SimpleQueue.hxx.


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