YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
XmlTree.hxx
Go to the documentation of this file.
1
#ifndef YAPOG_XMLTREE_HXX
2
# define YAPOG_XMLTREE_HXX
3
4
namespace
yap
5
{
6
template
<
typename
T>
7
inline
const
T
XmlTree::Get
(
const
String
& name)
const
8
{
9
return
data_
->get<T> (name);
10
}
11
12
template
<
typename
T>
13
inline
const
T
XmlTree::Get
()
const
14
{
15
return
data_
->get_value <T> ();
16
}
17
18
template
<
typename
T>
19
inline
void
XmlTree::Add
(
const
String
& name,
const
T& value)
20
{
21
data_
->put (name, value);
22
}
23
}
// namespace yap
24
25
#endif // YAPOG_XMLTREE_HXX
YAPOG
include
YAPOG
System
IO
Xml
XmlTree.hxx
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1