Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
visitor-dispatcher.hpp File Reference

Helper for a trampoline table based implementation of the visitor pattern. More...

Go to the source code of this file.

Description

Helper for a trampoline table based implementation of the visitor pattern.

implementation part, clients should include visitor.hpp

Definition in file visitor-dispatcher.hpp.

#include "lib/error.hpp"
#include "lib/util.hpp"
#include "lib/sync-classlock.hpp"
#include "lib/depend.hpp"
#include <vector>

Namespaces

namespace  lib
 Implementation namespace for support and library code.
 
namespace  lib::visitor
 

Classes

struct  TagTypeRegistry< TOOL, TOOLImpl >
 
class  Tag< TOOL >
 Type tag for concrete visiting tool classes. More...
 
class  Dispatcher< TAR, TOOL >
 For each possible call entry point via some subclass of the visitable hierarchy, we maintain a dispatcher table to keep track of all concrete tool implementations able to receive and process calls on objects of this subclass. More...