YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
RectWriter.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_RECTWRITER_HPP
2
# define YAPOG_RECTWRITER_HPP
3
4
# include <SFML/Graphics/Rect.hpp>
5
6
# include "
YAPOG/Macros.hpp
"
7
# include "
YAPOG/System/IO/BaseWriterVisitor.hpp
"
8
9
namespace
yap
10
{
11
template
<
typename
T>
12
class
RectWriter
:
public
BaseWriterVisitor
13
{
14
DISALLOW_COPY
(
RectWriter
);
15
16
public
:
17
18
explicit
RectWriter
(
const
sf::Rect<T>& rect);
19
virtual
~RectWriter
();
20
21
virtual
void
Visit
(
XmlWriter
& visitable);
22
virtual
void
Visit
(
IPacket
& visitable);
23
24
private
:
25
26
const
sf::Rect<T>&
rect_
;
27
};
28
}
// namespace yap
29
30
# include "
YAPOG/Graphics/RectWriter.hxx
"
31
32
#endif // YAPOG_RECTWRITER_HPP
YAPOG
include
YAPOG
Graphics
RectWriter.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1