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

#include <XmlReader.hpp>

Inheritance diagram for yap::XmlReader:
Collaboration diagram for yap::XmlReader:

List of all members.

Public Member Functions

 XmlReader ()
 XmlReader (IStream &iStream, const String &rootName)
virtual ~XmlReader ()
XmlReaderPtrType ChangeRoot (const String &name)
XmlReaderCollectionReadNodes (const String &name, XmlReaderCollection &xmlReaderCollection)
bool NodeExists (const String &name) const
const StringGetNode (int index) const
IReader members.
virtual void Accept (IReaderVisitor &visitor)
virtual void Accept (IReaderConstVisitor &visitor) const
virtual String ReadString ()
virtual String ReadString (const String &name)
virtual bool ReadBool ()
virtual bool ReadBool (const String &name)
virtual char ReadChar ()
virtual char ReadChar (const String &name)
virtual uchar ReadUChar ()
virtual uchar ReadUChar (const String &name)
virtual Int16 ReadInt16 ()
virtual Int16 ReadInt16 (const String &name)
virtual UInt16 ReadUInt16 ()
virtual UInt16 ReadUInt16 (const String &name)
virtual int ReadInt ()
virtual int ReadInt (const String &name)
virtual uint ReadUInt ()
virtual uint ReadUInt (const String &name)
virtual Int64 ReadInt64 ()
virtual Int64 ReadInt64 (const String &name)
virtual UInt64 ReadUInt64 ()
virtual UInt64 ReadUInt64 (const String &name)
virtual float ReadFloat ()
virtual float ReadFloat (const String &name)
virtual double ReadDouble ()
virtual double ReadDouble (const String &name)
virtual Vector2 ReadVector2 ()
virtual Vector2 ReadVector2 (const String &name)
virtual ID ReadID ()
virtual ID ReadID (const String &name)
- Public Member Functions inherited from yap::IReader
virtual ~IReader ()

Private Member Functions

 DISALLOW_COPY (XmlReader)
 XmlReader (const String &rootName, XmlTree &data)

Private Attributes

XmlTree data_

Detailed Description

Definition at line 19 of file XmlReader.hpp.


Constructor & Destructor Documentation

yap::XmlReader::XmlReader ( )

Definition at line 10 of file XmlReader.cpp.

yap::XmlReader::XmlReader ( IStream iStream,
const String rootName 
)

Definition at line 15 of file XmlReader.cpp.

Here is the call graph for this function:

yap::XmlReader::~XmlReader ( )
virtual

Definition at line 21 of file XmlReader.cpp.

yap::XmlReader::XmlReader ( const String rootName,
XmlTree data 
)
private

Definition at line 223 of file XmlReader.cpp.


Member Function Documentation

void yap::XmlReader::Accept ( IReaderVisitor visitor)
virtual

Implements yap::IReader.

Definition at line 61 of file XmlReader.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::XmlReader::Accept ( IReaderConstVisitor visitor) const
virtual

Implements yap::IReader.

Definition at line 66 of file XmlReader.cpp.

Here is the call graph for this function:

XmlReaderPtrType yap::XmlReader::ChangeRoot ( const String name)

Definition at line 25 of file XmlReader.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

yap::XmlReader::DISALLOW_COPY ( XmlReader  )
private
const String & yap::XmlReader::GetNode ( int  index) const

Definition at line 56 of file XmlReader.cpp.

Here is the call graph for this function:

bool yap::XmlReader::NodeExists ( const String name) const

Definition at line 51 of file XmlReader.cpp.

Here is the call graph for this function:

bool yap::XmlReader::ReadBool ( )
virtual

Implements yap::IReader.

Definition at line 81 of file XmlReader.cpp.

Here is the call graph for this function:

bool yap::XmlReader::ReadBool ( const String name)
virtual

Implements yap::IReader.

Definition at line 86 of file XmlReader.cpp.

Here is the call graph for this function:

char yap::XmlReader::ReadChar ( )
virtual

Implements yap::IReader.

Definition at line 91 of file XmlReader.cpp.

Here is the call graph for this function:

char yap::XmlReader::ReadChar ( const String name)
virtual

Implements yap::IReader.

Definition at line 96 of file XmlReader.cpp.

Here is the call graph for this function:

double yap::XmlReader::ReadDouble ( )
virtual

Implements yap::IReader.

Definition at line 181 of file XmlReader.cpp.

Here is the call graph for this function:

double yap::XmlReader::ReadDouble ( const String name)
virtual

Implements yap::IReader.

Definition at line 186 of file XmlReader.cpp.

Here is the call graph for this function:

float yap::XmlReader::ReadFloat ( )
virtual

Implements yap::IReader.

Definition at line 171 of file XmlReader.cpp.

Here is the call graph for this function:

float yap::XmlReader::ReadFloat ( const String name)
virtual

Implements yap::IReader.

Definition at line 176 of file XmlReader.cpp.

Here is the call graph for this function:

ID yap::XmlReader::ReadID ( )
virtual

Implements yap::IReader.

Definition at line 213 of file XmlReader.cpp.

Here is the call graph for this function:

ID yap::XmlReader::ReadID ( const String name)
virtual

Implements yap::IReader.

Definition at line 218 of file XmlReader.cpp.

Here is the call graph for this function:

int yap::XmlReader::ReadInt ( )
virtual

Implements yap::IReader.

Definition at line 131 of file XmlReader.cpp.

Here is the call graph for this function:

int yap::XmlReader::ReadInt ( const String name)
virtual

Implements yap::IReader.

Definition at line 136 of file XmlReader.cpp.

Here is the call graph for this function:

Int16 yap::XmlReader::ReadInt16 ( )
virtual

Implements yap::IReader.

Definition at line 111 of file XmlReader.cpp.

Here is the call graph for this function:

Int16 yap::XmlReader::ReadInt16 ( const String name)
virtual

Implements yap::IReader.

Definition at line 116 of file XmlReader.cpp.

Here is the call graph for this function:

Int64 yap::XmlReader::ReadInt64 ( )
virtual

Implements yap::IReader.

Definition at line 151 of file XmlReader.cpp.

Here is the call graph for this function:

Int64 yap::XmlReader::ReadInt64 ( const String name)
virtual

Implements yap::IReader.

Definition at line 156 of file XmlReader.cpp.

Here is the call graph for this function:

XmlReaderCollection & yap::XmlReader::ReadNodes ( const String name,
XmlReaderCollection xmlReaderCollection 
)

Definition at line 34 of file XmlReader.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

String yap::XmlReader::ReadString ( )
virtual

Implements yap::IReader.

Definition at line 71 of file XmlReader.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

String yap::XmlReader::ReadString ( const String name)
virtual

Implements yap::IReader.

Definition at line 76 of file XmlReader.cpp.

Here is the call graph for this function:

uchar yap::XmlReader::ReadUChar ( )
virtual

Implements yap::IReader.

Definition at line 101 of file XmlReader.cpp.

Here is the call graph for this function:

uchar yap::XmlReader::ReadUChar ( const String name)
virtual

Implements yap::IReader.

Definition at line 106 of file XmlReader.cpp.

Here is the call graph for this function:

uint yap::XmlReader::ReadUInt ( )
virtual

Implements yap::IReader.

Definition at line 141 of file XmlReader.cpp.

Here is the call graph for this function:

uint yap::XmlReader::ReadUInt ( const String name)
virtual

Implements yap::IReader.

Definition at line 146 of file XmlReader.cpp.

Here is the call graph for this function:

UInt16 yap::XmlReader::ReadUInt16 ( )
virtual

Implements yap::IReader.

Definition at line 121 of file XmlReader.cpp.

Here is the call graph for this function:

UInt16 yap::XmlReader::ReadUInt16 ( const String name)
virtual

Implements yap::IReader.

Definition at line 126 of file XmlReader.cpp.

Here is the call graph for this function:

UInt64 yap::XmlReader::ReadUInt64 ( )
virtual

Implements yap::IReader.

Definition at line 161 of file XmlReader.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

UInt64 yap::XmlReader::ReadUInt64 ( const String name)
virtual

Implements yap::IReader.

Definition at line 166 of file XmlReader.cpp.

Here is the call graph for this function:

Vector2 yap::XmlReader::ReadVector2 ( )
virtual

Implements yap::IReader.

Definition at line 191 of file XmlReader.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Vector2 yap::XmlReader::ReadVector2 ( const String name)
virtual

Implements yap::IReader.

Definition at line 202 of file XmlReader.cpp.

Here is the call graph for this function:


Member Data Documentation

XmlTree yap::XmlReader::data_
private

Definition at line 91 of file XmlReader.hpp.


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