A special iterator that mimics the interface of the standard iterator but the increment and decrement operators move by sibling.
Public Methods
-
void next()
- steps to the next sibling
-
void previous()
- steps to the previous sibling
-
void next_sibling()
- steps over this items's children to its next sibling
-
void previous_sibling()
- steps over the previous item's children, to the previous sibling
-
void first_child()
- steps to this item's first child
-
void last_child()
- steps to this item's last child
-
void up_to_parent()
- steps up to this item's parent
-
bool has_children()
- Returns true if this widget has children
-
T& get_data()
- Returns the item at this iterator
-
const T& get_data() const
- Returns the item at this iterator
-
layer_iterator& operator++ ()
- steps to the next sibling
-
layer_iterator& operator-- ()
- steps to the previous sibling
-
layer_iterator operator++ (int)
- steps to the next sibling
-
layer_iterator operator-- (int)
- steps to the previous sibling
-
T& operator* ()
- Returns the item at this iterator
-
const T& operator* () const
- Returns the item at this iterator
-
bool operator!= (const layer_iterator& _other) const
- Returns false if the iterators point to the same widget
-
bool operator== (const layer_iterator& _other) const
- Returns true is the iterators point to the same object
-
layer_iterator& operator= (const layer_iterator& V)
- Assign this iterator to the value of another
Documentation
A special iterator that mimics the interface of the standard iterator but
the increment and decrement operators move by sibling. The only way to
access the children is but using the first_child and last_child functions.
- void next()
- steps to the next sibling
- void previous()
- steps to the previous sibling
- void next_sibling()
- steps over this items's children to its next sibling
- void previous_sibling()
- steps over the previous item's children, to the previous sibling
- void first_child()
- steps to this item's first child
- void last_child()
- steps to this item's last child
- void up_to_parent()
- steps up to this item's parent
- bool has_children()
- Returns true if this widget has children
- T& get_data()
- Returns the item at this iterator
- const T& get_data() const
- Returns the item at this iterator
- layer_iterator& operator++ ()
- steps to the next sibling
- layer_iterator& operator-- ()
- steps to the previous sibling
- layer_iterator operator++ (int)
- steps to the next sibling
- layer_iterator operator-- (int)
- steps to the previous sibling
- T& operator* ()
- Returns the item at this iterator
- const T& operator* () const
- Returns the item at this iterator
- bool operator!= (const layer_iterator& _other) const
- Returns false if the iterators point to the same widget
- bool operator== (const layer_iterator& _other) const
- Returns true is the iterators point to the same object
- layer_iterator& operator= (const layer_iterator& V)
- Assign this iterator to the value of another
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.