scifir-units 2.0.0
scifir-units is a library of units of measurement, angles, coordinates, fields, and related data, all lightweight, that help in the development of scientific software and scientific machines
|
#include <direction.hpp>
Public Types | |
enum | name : int8_t { NONE , LEFT , RIGHT , TOP , BOTTOM , FRONT , BACK , LEFT_TOP , LEFT_BOTTOM , RIGHT_TOP , RIGHT_BOTTOM , LEFT_FRONT , LEFT_BACK , RIGHT_FRONT , RIGHT_BACK , TOP_FRONT , TOP_BACK , BOTTOM_FRONT , BOTTOM_BACK , LEFT_TOP_FRONT , LEFT_TOP_BACK , LEFT_BOTTOM_FRONT , LEFT_BOTTOM_BACK , RIGHT_TOP_FRONT , RIGHT_TOP_BACK , RIGHT_BOTTOM_FRONT , RIGHT_BOTTOM_BACK } |
Public Member Functions | |
direction () | |
direction (const direction &x) | |
direction (direction &&x) | |
direction (direction::name new_direction) | |
direction (const string &init_direction) | |
direction & | operator= (const direction &x) |
direction & | operator= (direction &&x) |
direction & | operator= (direction::name new_direction) |
direction & | operator= (const string &init_direction) |
void | invert () |
Public Attributes | |
direction::name | value |
Definition at line 14 of file direction.hpp.
Definition at line 17 of file direction.hpp.
scifir::direction::direction | ( | ) |
Definition at line 11 of file direction.cpp.
Definition at line 14 of file direction.cpp.
scifir::direction::direction | ( | direction && | x | ) |
Definition at line 17 of file direction.cpp.
|
explicit |
Definition at line 20 of file direction.cpp.
Definition at line 23 of file direction.cpp.
void scifir::direction::invert | ( | ) |
Definition at line 50 of file direction.cpp.
Definition at line 26 of file direction.cpp.
Definition at line 44 of file direction.cpp.
Definition at line 32 of file direction.cpp.
direction & scifir::direction::operator= | ( | direction::name | new_direction | ) |
Definition at line 38 of file direction.cpp.
direction::name scifir::direction::value |
Definition at line 32 of file direction.hpp.