direction.cc File Reference

#include "hex.h"

Go to the source code of this file.

Namespaces

namespace  hex

Functions

Direction hex::to_direction (char c) throw (hex::invalid_argument)
char hex::to_char (Direction d)
Direction & hex::operator+= (Direction &d, int i)
Direction hex::operator+ (const Direction &d, int i)
Direction & hex::operator++ (Direction &d)
 Prefix increment.
Direction hex::operator++ (const Direction &d, int)
 Postfix increment.
Direction & hex::operator-= (Direction &d, int i)
Direction hex::operator- (const Direction &d, int i)
Direction & hex::operator-- (Direction &d)
 Prefix decrement.
Direction hex::operator-- (const Direction &d, int)
 Postfix decrement.
std::ostream & hex::operator<< (std::ostream &os, const Direction &d)
std::string hex::rotate (const std::string &steps, int i)
 steps is a string of characters A-F, representing a set of Directions.


Generated on Thu Feb 21 00:00:54 2008 for libhex by  doxygen 1.5.1