Bertini 2 - C++ Core
Software for Numerical Algebraic Geometry
Loading...
Searching...
No Matches
visitable.hpp File Reference

Contains the visitable base types. More...

Include dependency graph for visitable.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bertini::policy::DefaultConstruct< VisitedT, RetT >
 A policy for what to do when a visited type is encoutered by a visitor it doesn't know. More...
 
class  bertini::VisitableBase< RetT, CatchAll >
 The base class for visitable types. More...
 

Macros

#define BERTINI_DEFAULT_VISITABLE()
 macro for classes which want default Accept implementation, having nothing fancy to do when accepting.
 

Typedefs

template<class VisitedT, typename RetT>
using bertini::policy::DefaultCatchAll = RaiseExceptionWithTypeNamesInMessage<VisitedT, RetT>
 

Detailed Description

Contains the visitable base types.

Macro Definition Documentation

◆ BERTINI_DEFAULT_VISITABLE

#define BERTINI_DEFAULT_VISITABLE ( )
Value:
virtual VisitReturnType Accept(VisitorBase& guest) override \
{ return AcceptBase(*this, guest); }

macro for classes which want default Accept implementation, having nothing fancy to do when accepting.

Typedef Documentation

◆ DefaultCatchAll

template<class VisitedT, typename RetT>
using bertini::policy::DefaultCatchAll = RaiseExceptionWithTypeNamesInMessage<VisitedT, RetT>

The default policy for what to do when a visitable is visited by an unknown visitor.