Leviathan  0.8.0.0
Leviathan game engine
Visitor.cpp
Go to the documentation of this file.
1 // ------------------------------------ //
2 #include "Visitor.h"
3 
4 #include "Exceptions.h"
5 using namespace Leviathan;
6 // ------------------------------------ //
7 
9 
10 }
11 
13 
14 }
15 // ------------------------------------ //
17 
18  throw InvalidType("Base Visitor type is getting called by visitable");
19 }
20 // ------------------ EmptyVisitor ------------------ //
22 
23  // Emptyness...
24 }
25 
26 
DLLEXPORT Visitor()
Definition: Visitor.cpp:8
virtual DLLEXPORT ~Visitor()
Default virtual destructor.
Definition: Visitor.cpp:12
Base class for all classes that accept visitors.
Definition: Visitor.h:10
virtual DLLEXPORT void Visit(Visitable *object)
Definition: Visitor.cpp:16
DLLEXPORT void Visit(Visitable *object) override
Definition: Visitor.cpp:21
#define DLLEXPORT
Definition: Include.h:84
The access mask controls which registered functions and classes a script sees.
Definition: GameModule.h:12