MOS Source Code
Loading...
Searching...
No Matches
list< T >::iterator Class Reference

#include <list.hpp>

+ Collaboration diagram for list< T >::iterator:

Public Member Functions

 iterator (node *current)
 
T & operator* ()
 
iteratoroperator++ ()
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 

Private Attributes

nodecurrent
 

Detailed Description

template<typename T>
class mos::list< T >::iterator

Definition at line 113 of file list.hpp.

Constructor & Destructor Documentation

◆ iterator()

template<typename T>
iterator ( node * current)
inline

Definition at line 116 of file list.hpp.

Referenced by operator!=(), operator++(), and operator==().

Member Function Documentation

◆ operator*()

template<typename T>
T & operator* ( )
inline

Definition at line 120 of file list.hpp.

◆ operator++()

template<typename T>
iterator & operator++ ( )
inline

Definition at line 125 of file list.hpp.

+ Here is the call graph for this function:

◆ operator==()

template<typename T>
bool operator== ( const iterator & other) const
inline

Definition at line 131 of file list.hpp.

+ Here is the call graph for this function:

◆ operator!=()

template<typename T>
bool operator!= ( const iterator & other) const
inline

Definition at line 136 of file list.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ current

template<typename T>
node* current
private

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