#include <girl/girlDirection.hpp>
Public Member Functions | |
direction (eDirection d=INVALID) | |
Constructor. | |
operator int () const | |
int conversion operator. | |
girl::direction | opposite () const |
Gives the opposite direction. | |
girl::direction | previous () const |
Gives previous direction of d in positive order. | |
girl::direction | next () const |
Gives next direction of d in positive order. | |
void | write (girl::io::Writer &w, girl::io::Type ioType) const |
Write direction d with function fct. | |
bool | read (girl::io::Reader &r, girl::io::Type ioType) |
Read direction d with function fct. |
girl::direction girl::direction::next | ( | ) | const [inline] |
girl::direction girl::direction::opposite | ( | ) | const [inline] |
girl::direction girl::direction::previous | ( | ) | const [inline] |
bool girl::direction::read | ( | girl::io::Reader & | r, | |
girl::io::Type | ioType | |||
) | [inline] |
Read direction d with function fct.
user_data allows to pass a context to the function.
void girl::direction::write | ( | girl::io::Writer & | w, | |
girl::io::Type | ioType | |||
) | const [inline] |
Write direction d with function fct.
user_data allows to pass a context to the function.