YAPOG  0.0.1
Yet Another Pokemon Online Game
IReaderVisitor.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IREADERVISITOR_HPP
2 # define YAPOG_IREADERVISITOR_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 
6 namespace yap
7 {
8  struct IPacket;
9 
10  class XmlReader;
11  class DatabaseStream;
12 
14  {
15  virtual ~IReaderVisitor () {}
16 
17  virtual void Visit (XmlReader& visitable) = 0;
18  virtual void Visit (IPacket& visitable) = 0;
19  virtual void Visit (DatabaseStream& visitable) = 0;
20  };
21 } // namespace yap
22 
23 #endif // YAPOG_IREADERVISITOR_HPP