|
Board
0.9.5
|
Leaf visitor may be used to apply a function on each leaf, in back-to-front order. More...
#include <ShapeVisitor.h>
Public Types | |
| typedef std::function< void(Shape &)> | Function |
Public Member Functions | |
| LeafVisitor (Function f) | |
| void | visit (Shape &) override |
| void | visit (Shape &) const override |
| void | visit (Dot &) override |
| void | visit (Line &) override |
| void | visit (Arrow &) override |
| void | visit (Polyline &) override |
| void | visit (Ellipse &) override |
| void | visit (Text &) override |
| void | visit (Bezier &) override |
Public Member Functions inherited from LibBoard::ShapeVisitor | |
| virtual void | visit (ShapeWithStyle &shape) |
| virtual void | visit (ShapeWithStyle &shape) const |
| virtual void | visit (Dot &) const |
| virtual void | visit (Line &) const |
| virtual void | visit (Arrow &arrow) const |
| virtual void | visit (Polyline &) const |
| virtual void | visit (Ellipse &) const |
| virtual void | visit (Text &) const |
| virtual void | visit (Bezier &) const |
Leaf visitor may be used to apply a function on each leaf, in back-to-front order.
1.8.17