4#if defined(_WIN32) || defined(_WIN64)
6 #define MARENV_API __declspec(dllexport)
8 #define MARENV_API __declspec(dllimport)
18constexpr double PI = 3.14159265358979323846;
67constexpr int StatusRank(
Status status)
noexcept
82 const int rankRhs = detail::StatusRank(rhs);
83 const int rankLhs = detail::StatusRank(lhs);
84 if (rankRhs > rankLhs || (rankRhs == rankLhs && rhs > lhs)) lhs = rhs;
Status
Definition marenv.h:44
constexpr bool IsUsable(Status status) noexcept
Definition marenv.h:59
@ OUT_OF_RANGE_INACCURATE
The query lay outside the data, and the value was clamped to its edge (a depth profile above its firs...
@ ERROR_NOT_SET
No valid data (outside a field's horizontal extent, a NaN position, no field); the value is not set (...
@ NOT_IMPLEMENTED
Reserved: no marenv method returns it at present. The value is not set.
@ NOT_APPLICABLE_NOT_SET
The quantity does not apply here or is not configured; the value is not set (zero).
The marenv root namespace.
Definition CastPath.h:36
Status operator&(Status lhs, Status rhs) noexcept
Definition marenv.h:104
constexpr double gravity
Gravity constant [m/s^2].
Definition marenv.h:19
constexpr double PI
Defines pi.
Definition marenv.h:18
constexpr double seawaterDensity
Ocean water density [kg/m^3].
Definition marenv.h:20
constexpr double airDensity
Air density [kg/m^3].
Definition marenv.h:21
Status & operator&=(Status &lhs, Status rhs) noexcept
Definition marenv.h:93
Status & operator+=(Status &lhs, Status rhs) noexcept
Definition marenv.h:79
Policy mixin: this type is movable but not copyable.
Definition marenv.h:126
Policy mixin: this type is neither copyable nor movable.
Definition marenv.h:112