commore
1.0.6-SNAPSHOT
|
#include <BaseList.h>
Public Member Functions | |
iterator () | |
iterator (const iterator &original) | |
operator bool () const | |
bool | more () const |
iterator & | operator++ () |
iterator | operator++ (int) |
iterator & | operator-- () |
iterator | operator-- (int) |
Byte * | get_data () const |
Dummy & | get_dummy () const |
bool | operator== (const iterator &iter) const |
bool | operator!= (const iterator &iter) const |
Protected Member Functions | |
iterator (BaseListNode *node, BaseList *cont) | |
BaseList & | cont () |
Protected Attributes | |
BaseListNode * | node_ |
BaseList * | cont_ |
Friends | |
class | BaseList |
class | const_iterator |
Generic non const iterator
BaseList::iterator::iterator | ( | ) |
BaseList::iterator::iterator | ( | const iterator & | original | ) |
|
protected |
|
protected |
Byte * BaseList::iterator::get_data | ( | ) | const |
Get pointer on current element
Dummy & BaseList::iterator::get_dummy | ( | ) | const |
Get reference on current element
bool BaseList::iterator::more | ( | ) | const |
Does iterator reach end of list
BaseList::iterator::operator bool | ( | ) | const |
Does iterator reach end of list
bool BaseList::iterator::operator!= | ( | const iterator & | iter | ) | const |
BaseList::iterator & BaseList::iterator::operator++ | ( | ) |
Go to next element
BaseList::iterator BaseList::iterator::operator++ | ( | int | ) |
Go to next element
BaseList::iterator & BaseList::iterator::operator-- | ( | ) |
Go to previous element
BaseList::iterator BaseList::iterator::operator-- | ( | int | ) |
Go to previous element
bool BaseList::iterator::operator== | ( | const iterator & | iter | ) | const |
Compare iterators
|
friend |
|
friend |
|
protected |
|
protected |