Lumiera  0.pre.03
»edit your freedom«
Visitable< TOOL > Class Template Referenceabstract

Description

template<class TOOL = Tool<void>>
class lumiera::visitor_concept_draft::Visitable< TOOL >

Marker interface "visitable object".

Definition at line 286 of file visitingtool-concept.cpp.

Public Member Functions

virtual ReturnType apply (TOOL &)=0
 to be defined by the DEFINE_PROCESSABLE_BY macro in all classes wanting to be treated by some tool
 

Protected Types

typedef TOOL::ReturnType ReturnType
 
typedef TOOL::ToolBase ToolBase
 

Static Protected Member Functions

template<class TAR >
static ReturnType dispatchOp (TAR &target, TOOL &tool)
 

Member Typedef Documentation

◆ ToolBase

typedef TOOL::ToolBase ToolBase
protected
Note
may differ from TOOL

Definition at line 289 of file visitingtool-concept.cpp.

Member Function Documentation

◆ dispatchOp()

static ReturnType dispatchOp ( TAR &  target,
TOOL &  tool 
)
inlinestaticprotected

used by the DEFINE_PROCESSABLE_BY macro. Dispatches to the actual operation on the "visiting tool" (visitor implementation) Note: creates a context templated on concrete TAR.

Definition at line 302 of file visitingtool-concept.cpp.

+ Inheritance diagram for Visitable< TOOL >:
+ Collaboration diagram for Visitable< TOOL >:

The documentation for this class was generated from the following file: