Leviathan  0.8.0.0
Leviathan game engine
Leviathan::EmptyVisitor Class Reference

Example visitor that does nothing, but doesn't crash either. More...

#include <Visitor.h>

+ Inheritance diagram for Leviathan::EmptyVisitor:

Public Member Functions

DLLEXPORT void Visit (Visitable *object) override
 
- Public Member Functions inherited from Leviathan::Visitor
DLLEXPORT Visitor ()
 
virtual DLLEXPORT ~Visitor ()
 Default virtual destructor. More...
 

Detailed Description

Example visitor that does nothing, but doesn't crash either.

Definition at line 30 of file Visitor.h.

Member Function Documentation

◆ Visit()

DLLEXPORT void EmptyVisitor::Visit ( Visitable object)
overridevirtual

Reimplemented from Leviathan::Visitor.

Definition at line 21 of file Visitor.cpp.

21  {
22 
23  // Emptyness...
24 }

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