tmw/src/position.h File Reference

#include <list>
#include <iostream>

Go to the source code of this file.

Classes

struct  Position
 A position along a being's path. More...

Typedefs

typedef std::list< PositionPath
typedef Path::iterator PathIterator

Functions

std::ostream & operator<< (std::ostream &os, const Position &p)
 Appends a string representation of a position to the output stream.
std::ostream & operator<< (std::ostream &os, const Path &path)
 Appends a string representation of a path (sequence of positions) to the output stream.


Typedef Documentation

typedef std::list<Position> Path

Definition at line 41 of file position.h.

typedef Path::iterator PathIterator

Definition at line 42 of file position.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Path path 
)

Appends a string representation of a path (sequence of positions) to the output stream.

Definition at line 30 of file position.cpp.

std::ostream& operator<< ( std::ostream &  os,
const Position p 
)

Appends a string representation of a position to the output stream.

Definition at line 24 of file position.cpp.


Generated on Sun Apr 26 17:30:42 2009 for The Mana World by  doxygen 1.5.5