Lumiera  0.pre.03
»edit your freedom«
visitingtool-extended-test.cpp File Reference

Go to the source code of this file.

Description

unit test VisitingToolExtended_test

Definition in file visitingtool-extended-test.cpp.

#include "lib/test/run.hpp"
#include "lib/visitor.hpp"
#include "lib/format-string.hpp"
#include <iostream>

Classes

class  Babbler
 
class  BigBoss
 
class  Blatherer
 Hastalavista-Visiting-Tool tailored for the Chief hierarchy. More...
 
class  Boss
 
struct  Catched< RET >
 defines an catch-all-function instead of the silent default error handler More...
 
class  HomoSapiens
 
class  Leader
 now mixing the two hierarchies... More...
 
class  VerboseVisitor< BASE >
 
class  Visionary
 
class  VisitingToolExtended_test
 

Typedefs

typedef Visitable< Hastalavista > Chief
 another special kind of visitable
 
typedef visitor::Tool< void, Catched > Hastalavista
 defines another different visiting tool base
 
typedef visitor::Tool Tool
 

Macros

#define DEFINE_HASTALAVISTA_PROCESSABLE
 

Functions

 LAUNCHER (VisitingToolExtended_test, "unit common")
 Register this test class... More...
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Macro Definition Documentation

◆ DEFINE_HASTALAVISTA_PROCESSABLE

#define DEFINE_HASTALAVISTA_PROCESSABLE
Value:
virtual void apply (Hastalavista& tool) \
{ return Chief::dispatchOp (*this, tool); }
_Fun< SIG >::Ret apply(SIG &f, std::tuple< ARG... > &args)
apply the given function to the argument tuple

Definition at line 102 of file visitingtool-extended-test.cpp.

Function Documentation

◆ LAUNCHER()

lib::visitor::test2::LAUNCHER ( VisitingToolExtended_test  ,
"unit common"   
)

Register this test class...