inkcpp
Loading...
Searching...
No Matches
ink::runtime::list_interface::iterator Class Reference

iterater for flags in a list More...

#include <list.h>

Classes

struct  Flag
 contains flag data More...

Public Member Functions

 iterator (const iterator &)=default
 copy constructor.
Flag operator* () const
 access value the iterator is pointing to
iterator & operator++ ()
 continue iterator to next value
bool operator!= (const iterator &itr) const
 checks if iterator points not to the same element
bool operator== (const iterator &itr) const
 checks if iterator points to the same element
iterator & operator= (const iterator &)=delete

Detailed Description

iterater for flags in a list

Todo
implement operator->

Member Function Documentation

◆ operator!=()

bool ink::runtime::list_interface::iterator::operator!= ( const iterator & itr) const
inline

checks if iterator points not to the same element

Parameters
itrother iterator

◆ operator==()

bool ink::runtime::list_interface::iterator::operator== ( const iterator & itr) const
inline

checks if iterator points to the same element

Parameters
itrother iterator

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