3#include "boost/algorithm/string.hpp"
34 value = std::move(x.value);
61 else if (x ==
"right")
69 else if (x ==
"bottom")
73 else if (x ==
"front")
81 else if (x ==
"left-top")
85 else if (x ==
"left-bottom")
89 else if (x ==
"right-top")
93 else if (x ==
"right-bottom")
97 else if (x ==
"left-front")
101 else if (x ==
"left-back")
105 else if (x ==
"right-front")
109 else if (x ==
"right-back")
113 else if (x ==
"top-front")
117 else if (x ==
"top-back")
121 else if (x ==
"bottom-front")
125 else if (x ==
"bottom-back")
129 else if (x ==
"left-top-front")
133 else if (x ==
"left-top-back")
137 else if (x ==
"left-bottom-front")
141 else if (x ==
"left-bottom-back")
145 else if (x ==
"right-top-front")
149 else if (x ==
"right-top-back")
153 else if (x ==
"right-bottom-front")
157 else if (x ==
"right-bottom-back")
300 return "left-bottom";
304 return "right-bottom";
310 return "right-front";
318 return "bottom-front";
320 return "bottom-back";
322 return "left-top-front";
324 return "left-top-back";
326 return "left-bottom-front";
328 return "left-bottom-back";
330 return "right-top-front";
332 return "right-top-back";
334 return "right-bottom-front";
336 return "right-bottom-back";
399 return !(x == init_direction);
410 return !(init_direction == x);
415 ostringstream output;
422 ostringstream output;
430 ostringstream output;
438 return os << to_string(x);
direction & operator=(const direction &x)
bool operator!=(const scifir::direction &x, const scifir::direction &y)
bool operator==(const scifir::direction &x, const scifir::direction &y)
istream & operator>>(istream &is, scifir::direction &x)
ostream & operator<<(ostream &os, const scifir::direction &x)
void operator+=(string &x, const scifir::direction &y)
string operator+(const string &x, const scifir::direction &y)
The namespace scifir contains all scifir-units, excepting the string literals, which are outside.
direction::name invert(direction::name x)
@ NONE
No predefined astronomical body selected.
string to_string(const aid &x)
Creates a string representation of aid, it's for aid equivalent to the display() function of aid.
direction::name create_direction(const string &x)