YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
NatureInfoReader.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_NATUREINFOREADER_HPP
2
# define YAPOG_NATUREINFOREADER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/IO/BaseReaderVisitor.hpp
"
6
# include "
YAPOG/Game/Pokemon/NatureInfo.hpp
"
7
# include "
YAPOG/System/String.hpp
"
8
# include "
YAPOG/System/Error/Exception.hpp
"
9
# include "
YAPOG/System/IO/Xml/XmlReader.hpp
"
10
# include "
YAPOG/System/IO/Xml/XmlHelper.hpp
"
11
12
namespace
yap
13
{
14
class
YAPOG_LIB
NatureInfoReader
:
public
BaseReaderVisitor
15
{
16
DISALLOW_COPY
(
NatureInfoReader
);
17
18
public
:
19
NatureInfoReader
(
NatureInfo
& pokeInfo);
20
NatureInfoReader
(
NatureInfo
& map,
const
String
& xmlRootNodeName);
21
virtual
~
NatureInfoReader
();
22
23
virtual
void
Visit (
XmlReader
& visitable);
24
private
:
25
NatureInfo
&
natureInfo_
;
26
String
xmlRootNodeName_
;
27
28
static
const
String
DEFAULT_XML_ROOT_NODE_NAME
;
29
static
const
String
DEFAULT_XML_ID_NODE_NAME
;
30
static
const
String
DEFAULT_XML_NAME_NODE_NAME
;
31
static
const
String
DEFAULT_XML_FACTORS_NODE_NAME
;
32
static
const
String
DEFAULT_XML_ATTACK_NODE_NAME
;
33
static
const
String
DEFAULT_XML_DEFENSE_NODE_NAME
;
34
static
const
String
DEFAULT_XML_SPECIAL_ATTACK_NODE_NAME
;
35
static
const
String
DEFAULT_XML_SPECIAL_DEFENSE_NODE_NAME
;
36
static
const
String
DEFAULT_XML_SPEED_NODE_NAME
;
37
};
38
}
// namespace yap
39
40
#endif // YAPOG_NATUREINFOREADER_HPP
41
YAPOG
include
YAPOG
Game
Pokemon
NatureInfoReader.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1