Leosac  0.8.0
Open Source Access Control
Leosac::Test::DummyVisitor2 Struct Reference

Visitor2 that is ready to visit object of type DummyVisitable, but not of type DummyChildVisitable. More...

+ Inheritance diagram for Leosac::Test::DummyVisitor2:
+ Collaboration diagram for Leosac::Test::DummyVisitor2:

Public Member Functions

 DummyVisitor2 ()=default
 
void visit (const DummyVisitable &) override
 
- Public Member Functions inherited from Leosac::Tools::Visitor< DummyVisitable >
virtual void visit (const VisitableT &)
 
virtual void visit (VisitableT &visitable)
 
- Public Member Functions inherited from Leosac::Tools::BaseVisitor
virtual ~BaseVisitor ()=default
 
virtual void cannot_visit (const IVisitable &)
 Invoked when the visitable cannot be visited by the visitor. More...
 

Public Attributes

bool visited_ {false}
 

Additional Inherited Members

- Public Types inherited from Leosac::Tools::Visitor< DummyVisitable >
using VisitableT = std::remove_reference_t< std::remove_const_t< DummyVisitable > >
 

Detailed Description

Visitor2 that is ready to visit object of type DummyVisitable, but not of type DummyChildVisitable.

Yet, we try to pass it a DummyChildVisitable

Definition at line 113 of file Visitor.cpp.

Constructor & Destructor Documentation

◆ DummyVisitor2()

Leosac::Test::DummyVisitor2::DummyVisitor2 ( )
default

Member Function Documentation

◆ visit()

void Leosac::Test::DummyVisitor2::visit ( const DummyVisitable )
inlineoverride

Definition at line 117 of file Visitor.cpp.

Member Data Documentation

◆ visited_

bool Leosac::Test::DummyVisitor2::visited_ {false}

Definition at line 122 of file Visitor.cpp.


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