YAPOG  0.0.1
Yet Another Pokemon Online Game
IReaderConstVisitor.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IREADERCONSTVISITOR_HPP
2 # define YAPOG_IREADERCONSTVISITOR_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 ~IReaderConstVisitor () {}
16 
17  virtual void Visit (const XmlReader& visitable) = 0;
18  virtual void Visit (const IPacket& visitable) = 0;
19  virtual void Visit (const DatabaseStream& visitable) = 0;
20  };
21 } // namespace yap
22 
23 #endif // YAPOG_IREADERCONSTVISITOR_HPP