Mana
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
position.h File Reference
#include <iostream>
#include <list>

Go to the source code of this file.

Classes

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

Typedefs

using Path = std::list< Position >
 

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

◆ Path

using Path = std::list<Position>

Definition at line 40 of file position.h.

Function Documentation

◆ operator<<() [1/2]

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.

◆ operator<<() [2/2]

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.