YAPOG  0.0.1
Yet Another Pokemon Online Game
RectReader.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_RECTREADER_HPP
2 # define YAPOG_RECTREADER_HPP
3 
4 # include <SFML/Graphics/Rect.hpp>
5 
6 # include "YAPOG/Macros.hpp"
8 # include "YAPOG/System/String.hpp"
9 
10 namespace yap
11 {
12  template <typename T>
14  {
16 
17  public:
18 
19  explicit RectReader (sf::Rect<T>& rect);
20  RectReader (sf::Rect<T>& rect, const String& xmlRootNodeName);
21  virtual ~RectReader ();
22 
23  virtual void Visit (XmlReader& visitable);
24  virtual void Visit (IPacket& visitable);
25 
26  private:
27 
29 
30  sf::Rect<T>& rect_;
31 
33  };
34 } // namespace yap
35 
37 
38 #endif // YAPOG_RECTREADER_HPP