|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
The first non-trivial visitor class. More...
#include <visitor.hpp>
Public Types | |
| typedef RetT | ReturnType |
| The type returned when visiting. | |
Public Member Functions | |
| virtual ReturnType | Visit (VisitedT const &)=0 |
| Visit an object of the visited type. | |
| virtual | ~Visitor ()=default |
The first non-trivial visitor class.
Derive from this when creating new visitor types.
| VisitedT | The type of object the visitor visits. |
| RetT | The type of object to be returned when visiting. Default is void. |
| typedef RetT bertini::Visitor< VisitedT, RetT >::ReturnType |
The type returned when visiting.
|
virtualdefault |
|
pure virtual |
Visit an object of the visited type.