![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Marker interface "visitable object".
Definition at line 285 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 | |
| using | ToolBase = TOOL::ToolBase |
| using | ReturnType = TOOL::ReturnType |
Protected Member Functions | |
| virtual | ~Visitable () |
Static Protected Member Functions | |
| template<class TAR > | |
| static ReturnType | dispatchOp (TAR &target, TOOL &tool) |
|
inlineprotectedvirtual |
Definition at line 288 of file visitingtool-concept.cpp.
|
protected |
Definition at line 291 of file visitingtool-concept.cpp.
|
protected |
Definition at line 292 of file visitingtool-concept.cpp.
|
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 301 of file visitingtool-concept.cpp.
References Dispatcher< TAR, TOOL >::instance.
|
pure virtual |
to be defined by the DEFINE_PROCESSABLE_BY macro in all classes wanting to be treated by some tool
Referenced by VisitingTool_concept::known_visitor_known_class(), and VisitingTool_concept::visitor_not_visiting_some_class().
Here is the caller graph for this function:
Inheritance diagram for Visitable< TOOL >:
Collaboration diagram for Visitable< TOOL >: