YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::NatureInfoReader Class Reference

#include <NatureInfoReader.hpp>

Inheritance diagram for yap::NatureInfoReader:
Collaboration diagram for yap::NatureInfoReader:

List of all members.

Public Member Functions

 NatureInfoReader (NatureInfo &pokeInfo)
 NatureInfoReader (NatureInfo &map, const String &xmlRootNodeName)
virtual ~NatureInfoReader ()
virtual void Visit (XmlReader &visitable)
- Public Member Functions inherited from yap::BaseReaderVisitor
virtual ~BaseReaderVisitor ()
virtual void Visit (IPacket &visitable)
virtual void Visit (DatabaseStream &visitable)
- Public Member Functions inherited from yap::IReaderVisitor
virtual ~IReaderVisitor ()

Private Member Functions

 DISALLOW_COPY (NatureInfoReader)

Private Attributes

NatureInfonatureInfo_
String xmlRootNodeName_

Static Private Attributes

static const String DEFAULT_XML_ROOT_NODE_NAME = "Nature"
static const String DEFAULT_XML_ID_NODE_NAME = "id"
static const String DEFAULT_XML_NAME_NODE_NAME = "name"
static const String DEFAULT_XML_FACTORS_NODE_NAME = "factors"
static const String DEFAULT_XML_ATTACK_NODE_NAME = "attack"
static const String DEFAULT_XML_DEFENSE_NODE_NAME = "defense"
static const String DEFAULT_XML_SPECIAL_ATTACK_NODE_NAME = "specialAttack"
static const String DEFAULT_XML_SPECIAL_DEFENSE_NODE_NAME = "specialDefense"
static const String DEFAULT_XML_SPEED_NODE_NAME = "speed"

Additional Inherited Members

- Protected Member Functions inherited from yap::BaseReaderVisitor
 BaseReaderVisitor ()

Detailed Description

Definition at line 14 of file NatureInfoReader.hpp.


Constructor & Destructor Documentation

yap::NatureInfoReader::NatureInfoReader ( NatureInfo pokeInfo)

Definition at line 17 of file NatureInfoReader.cpp.

yap::NatureInfoReader::NatureInfoReader ( NatureInfo map,
const String xmlRootNodeName 
)

Definition at line 22 of file NatureInfoReader.cpp.

yap::NatureInfoReader::~NatureInfoReader ( )
virtual

Definition at line 30 of file NatureInfoReader.cpp.


Member Function Documentation

yap::NatureInfoReader::DISALLOW_COPY ( NatureInfoReader  )
private
void yap::NatureInfoReader::Visit ( XmlReader visitable)
virtual

Reimplemented from yap::BaseReaderVisitor.

Definition at line 34 of file NatureInfoReader.cpp.

Here is the call graph for this function:


Member Data Documentation

const String yap::NatureInfoReader::DEFAULT_XML_ATTACK_NODE_NAME = "attack"
staticprivate

Definition at line 32 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_DEFENSE_NODE_NAME = "defense"
staticprivate

Definition at line 33 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_FACTORS_NODE_NAME = "factors"
staticprivate

Definition at line 31 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_ID_NODE_NAME = "id"
staticprivate

Definition at line 29 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_NAME_NODE_NAME = "name"
staticprivate

Definition at line 30 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_ROOT_NODE_NAME = "Nature"
staticprivate

Definition at line 28 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_SPECIAL_ATTACK_NODE_NAME = "specialAttack"
staticprivate

Definition at line 34 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_SPECIAL_DEFENSE_NODE_NAME = "specialDefense"
staticprivate

Definition at line 35 of file NatureInfoReader.hpp.

const String yap::NatureInfoReader::DEFAULT_XML_SPEED_NODE_NAME = "speed"
staticprivate

Definition at line 36 of file NatureInfoReader.hpp.

NatureInfo& yap::NatureInfoReader::natureInfo_
private

Definition at line 25 of file NatureInfoReader.hpp.

String yap::NatureInfoReader::xmlRootNodeName_
private

Definition at line 26 of file NatureInfoReader.hpp.


The documentation for this class was generated from the following files: