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

#include <PokemonInfoReader.hpp>

Inheritance diagram for yap::PokemonInfoReader:
Collaboration diagram for yap::PokemonInfoReader:

List of all members.

Public Member Functions

 PokemonInfoReader (PokemonInfo &pokemonInfo)
 PokemonInfoReader (PokemonInfo &map, const String &xmlRootNodeName)
virtual ~PokemonInfoReader ()
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 ()

Protected Attributes

String xmlRootNodeName_

Private Member Functions

 DISALLOW_COPY (PokemonInfoReader)

Private Attributes

PokemonInfopokemonInfo_

Static Private Attributes

static const String DEFAULT_XML_ROOT_NODE_NAME
static const String DEFAULT_XML_ID_NODE_NAME
static const String DEFAULT_XML_NAME_NODE_NAME
static const String DEFAULT_XML_DESCRIPTION_NODE_NAME
static const String DEFAULT_XML_SPECIES_NODE_NAME
static const String DEFAULT_XML_HEIGHT_NODE_NAME
static const String DEFAULT_XML_WEIGHT_NODE_NAME
static const String DEFAULT_XML_RARITY_NODE_NAME
static const String DEFAULT_XML_EXPERIENCE_NODE_NAME
static const String DEFAULT_XML_BASE_STATS_NODE_NAME
static const String DEFAULT_XML_HP_NODE_NAME
static const String DEFAULT_XML_ATTACK_NODE_NAME
static const String DEFAULT_XML_DEFENSE_NODE_NAME
static const String DEFAULT_XML_SPECIAL_ATTACK_NODE_NAME
static const String DEFAULT_XML_SPECIAL_DEFENSE_NODE_NAME
static const String DEFAULT_XML_SPEED_NODE_NAME
static const String DEFAULT_XML_TYPES_NODE_NAME
static const String DEFAULT_XML_TYPE1_NODE_NAME
static const String DEFAULT_XML_TYPE2_NODE_NAME
static const String DEFAULT_XML_EXPERIENCE_TYPE_NODE_NAME
static const String DEFAULT_XML_BASE_SKILLS_NODE_NAME
static const String DEFAULT_XML_SKILL_NODE_NAME
static const String DEFAULT_XML_LEVEL_ATTR_NAME
static const String DEFAULT_XML_EVOLUTION_NODE_NAME
static const String DEFAULT_XML_POKEMON_ID_NODE_NAME
static const String DEFAULT_XML_STONE_NODE_NAME
static const String DEFAULT_XML_ITEM_HOLD_NODE_NAME
static const String DEFAULT_XML_EFFORT_VALUES_NODE_NAME
static const String DEFAULT_XML_GENDER_NODE_NAME
static const String DEFAULT_XML_GRAPHICS_NODE_NAME
static const String DEFAULT_XML_ICON_NODE_NAME
static const String DEFAULT_XML_MALE_NODE_NAME
static const String DEFAULT_XML_FEMALE_NODE_NAME
static const String DEFAULT_XML_FRONT_NODE_NAME
static const String DEFAULT_XML_BACK_NODE_NAME
static const String DEFAULT_XML_SHINY_NODE_NAME

Additional Inherited Members

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

Detailed Description

Definition at line 14 of file PokemonInfoReader.hpp.


Constructor & Destructor Documentation

yap::PokemonInfoReader::PokemonInfoReader ( PokemonInfo pokemonInfo)

Definition at line 81 of file PokemonInfoReader.cpp.

yap::PokemonInfoReader::PokemonInfoReader ( PokemonInfo map,
const String xmlRootNodeName 
)

Definition at line 86 of file PokemonInfoReader.cpp.

yap::PokemonInfoReader::~PokemonInfoReader ( )
virtual

Reimplemented in ycl::PokemonInfoReader.

Definition at line 94 of file PokemonInfoReader.cpp.


Member Function Documentation

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

Reimplemented from yap::BaseReaderVisitor.

Reimplemented in ycl::PokemonInfoReader.

Definition at line 98 of file PokemonInfoReader.cpp.

Here is the call graph for this function:


Member Data Documentation

const String yap::PokemonInfoReader::DEFAULT_XML_ATTACK_NODE_NAME
staticprivate

Definition at line 42 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_BACK_NODE_NAME
staticprivate

Definition at line 65 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_BASE_SKILLS_NODE_NAME
staticprivate

Definition at line 51 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_BASE_STATS_NODE_NAME
staticprivate

Definition at line 40 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_DEFENSE_NODE_NAME
staticprivate

Definition at line 43 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_DESCRIPTION_NODE_NAME
staticprivate

Definition at line 34 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_EFFORT_VALUES_NODE_NAME
staticprivate

Definition at line 58 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_EVOLUTION_NODE_NAME
staticprivate

Definition at line 54 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_EXPERIENCE_NODE_NAME
staticprivate

Definition at line 39 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_EXPERIENCE_TYPE_NODE_NAME
staticprivate

Definition at line 50 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_FEMALE_NODE_NAME
staticprivate

Definition at line 63 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_FRONT_NODE_NAME
staticprivate

Definition at line 64 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_GENDER_NODE_NAME
staticprivate

Definition at line 59 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_GRAPHICS_NODE_NAME
staticprivate

Definition at line 60 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_HEIGHT_NODE_NAME
staticprivate

Definition at line 36 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_HP_NODE_NAME
staticprivate

Definition at line 41 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_ICON_NODE_NAME
staticprivate

Definition at line 61 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_ID_NODE_NAME
staticprivate

Definition at line 32 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_ITEM_HOLD_NODE_NAME
staticprivate

Definition at line 57 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_LEVEL_ATTR_NAME
staticprivate

Definition at line 53 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_MALE_NODE_NAME
staticprivate

Definition at line 62 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_NAME_NODE_NAME
staticprivate

Definition at line 33 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_POKEMON_ID_NODE_NAME
staticprivate

Definition at line 55 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_RARITY_NODE_NAME
staticprivate

Definition at line 38 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_ROOT_NODE_NAME
staticprivate

Definition at line 31 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_SHINY_NODE_NAME
staticprivate

Definition at line 66 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_SKILL_NODE_NAME
staticprivate

Definition at line 52 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_SPECIAL_ATTACK_NODE_NAME
staticprivate

Definition at line 44 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_SPECIAL_DEFENSE_NODE_NAME
staticprivate

Definition at line 45 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_SPECIES_NODE_NAME
staticprivate

Definition at line 35 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_SPEED_NODE_NAME
staticprivate

Definition at line 46 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_STONE_NODE_NAME
staticprivate

Definition at line 56 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_TYPE1_NODE_NAME
staticprivate

Definition at line 48 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_TYPE2_NODE_NAME
staticprivate

Definition at line 49 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_TYPES_NODE_NAME
staticprivate

Definition at line 47 of file PokemonInfoReader.hpp.

const String yap::PokemonInfoReader::DEFAULT_XML_WEIGHT_NODE_NAME
staticprivate

Definition at line 37 of file PokemonInfoReader.hpp.

PokemonInfo& yap::PokemonInfoReader::pokemonInfo_
private

Definition at line 29 of file PokemonInfoReader.hpp.

String yap::PokemonInfoReader::xmlRootNodeName_
protected

Definition at line 26 of file PokemonInfoReader.hpp.


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