YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
SkillInfoReader.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_SKILLINFOREADER_HPP
2
# define YAPOG_SKILLINFOREADER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/IO/BaseReaderVisitor.hpp
"
6
# include "
YAPOG/Game/Pokemon/SkillInfo.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
SkillInfoReader
:
public
BaseReaderVisitor
15
{
16
DISALLOW_COPY
(
SkillInfoReader
);
17
18
public
:
19
SkillInfoReader
(
SkillInfo
& skillInfo);
20
SkillInfoReader
(
SkillInfo
& map,
const
String
& xmlRootNodeName);
21
virtual
~
SkillInfoReader
();
22
23
virtual
void
Visit (
XmlReader
& visitable);
24
private
:
25
SkillInfo
&
skillInfo_
;
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_DESCRIPTION_NODE_NAME
;
32
static
const
String
DEFAULT_XML_POWER_NODE_NAME
;
33
static
const
String
DEFAULT_XML_PP_NODE_NAME
;
34
static
const
String
DEFAULT_XML_MAX_PP_NODE_NAME
;
35
static
const
String
DEFAULT_XML_ACCURACY_NODE_NAME
;
36
static
const
String
DEFAULT_XML_TYPE_NODE_NAME
;
37
static
const
String
DEFAULT_XML_CATEGORY_NODE_NAME
;
38
static
const
String
DEFAULT_XML_TARGET_NODE_NAME
;
39
static
const
String
DEFAULT_XML_EFFECT_NODE_NAME
;
40
static
const
String
DEFAULT_XML_USE_NODE_NAME
;
41
static
const
String
DEFAULT_XML_PRIORITY_NODE_NAME
;
42
};
43
}
// namespace yap
44
45
#endif // YAPOG_SKILLINFOREADER_HPP
46
YAPOG
include
YAPOG
Game
Pokemon
SkillInfoReader.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1