Leosac  0.8.0
Open Source Access Control
Leosac::Test::DummyVisitor Struct Reference
+ Inheritance diagram for Leosac::Test::DummyVisitor:
+ Collaboration diagram for Leosac::Test::DummyVisitor:

Public Member Functions

 DummyVisitor ()
 
void visit (DummyVisitable &) override
 
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_non_const_ {false}
 
bool visited_const_ {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

Definition at line 38 of file Visitor.cpp.

Constructor & Destructor Documentation

◆ DummyVisitor()

Leosac::Test::DummyVisitor::DummyVisitor ( )
inline

Definition at line 40 of file Visitor.cpp.

Member Function Documentation

◆ visit() [1/2]

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

Definition at line 49 of file Visitor.cpp.

◆ visit() [2/2]

void Leosac::Test::DummyVisitor::visit ( DummyVisitable )
inlineoverride

Definition at line 44 of file Visitor.cpp.

Member Data Documentation

◆ visited_const_

bool Leosac::Test::DummyVisitor::visited_const_ {false}

Definition at line 55 of file Visitor.cpp.

◆ visited_non_const_

bool Leosac::Test::DummyVisitor::visited_non_const_ {false}

Definition at line 54 of file Visitor.cpp.


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