Leosac  0.8.0
Open Source Access Control
Leosac::Tools::BaseVisitor Class Reference

Base class for visitor, should not be used directly. More...

#include <Visitor.hpp>

+ Inheritance diagram for Leosac::Tools::BaseVisitor:

Public Member Functions

virtual ~BaseVisitor ()=default
 
virtual void cannot_visit (const IVisitable &)
 Invoked when the visitable cannot be visited by the visitor. More...
 

Detailed Description

Base class for visitor, should not be used directly.

To write a visitor that can visit an object of type T, subclass Visitor<T>.

Definition at line 37 of file Visitor.hpp.

Constructor & Destructor Documentation

◆ ~BaseVisitor()

virtual Leosac::Tools::BaseVisitor::~BaseVisitor ( )
virtualdefault

Member Function Documentation

◆ cannot_visit()

void Leosac::Tools::BaseVisitor::cannot_visit ( const IVisitable obj)
virtual

Invoked when the visitable cannot be visited by the visitor.

Reimplemented in Leosac::Audit::Serializer::PolymorphicAuditJSON::HelperSerialize.

Definition at line 30 of file Visitor.cpp.


The documentation for this class was generated from the following files: