Board 0.9.6
Public Member Functions | List of all members
LibBoard::ShapeList::BreadthFirstIterator Struct Reference

The BreadthFirstIterator struct allows to traverse the shape tree using a breadth-first strategy. More...

#include <ShapeList.h>

Public Member Functions

 BreadthFirstIterator ()
 
 BreadthFirstIterator (ShapeList *list)
 
Shapeoperator* ()
 
Shapeoperator-> ()
 
Shapepointer ()
 
bool operator== (const BreadthFirstIterator &other)
 
bool operator!= (const BreadthFirstIterator &other)
 
BreadthFirstIteratoroperator++ ()
 
BreadthFirstIterator operator++ (int)
 

Detailed Description

The BreadthFirstIterator struct allows to traverse the shape tree using a breadth-first strategy.

Examples
examples/traversal.cpp.

Constructor & Destructor Documentation

◆ BreadthFirstIterator() [1/2]

LibBoard::ShapeList::BreadthFirstIterator::BreadthFirstIterator ( )
inline

◆ BreadthFirstIterator() [2/2]

LibBoard::ShapeList::BreadthFirstIterator::BreadthFirstIterator ( ShapeList list)
inline

Member Function Documentation

◆ operator!=()

bool LibBoard::ShapeList::BreadthFirstIterator::operator!= ( const BreadthFirstIterator other)
inline

◆ operator*()

Shape & LibBoard::ShapeList::BreadthFirstIterator::operator* ( )
inline

◆ operator++() [1/2]

ShapeList::BreadthFirstIterator & LibBoard::ShapeList::BreadthFirstIterator::operator++ ( )
inline

◆ operator++() [2/2]

ShapeList::BreadthFirstIterator LibBoard::ShapeList::BreadthFirstIterator::operator++ ( int  )
inline

◆ operator->()

Shape * LibBoard::ShapeList::BreadthFirstIterator::operator-> ( )
inline

◆ operator==()

bool LibBoard::ShapeList::BreadthFirstIterator::operator== ( const BreadthFirstIterator other)
inline

◆ pointer()

Shape * LibBoard::ShapeList::BreadthFirstIterator::pointer ( )
inline

The documentation for this struct was generated from the following files: