![]() |
tempoch-cpp
Header-only C++ wrapper for tempoch
|
Classes | |
| class | InvalidPeriodError |
| The period is invalid (start > end). More... | |
| class | JulianDate |
| Julian Date wrapper (value type). More... | |
| class | MJD |
| Modified Julian Date wrapper (value type). More... | |
| class | NoIntersectionError |
| The two periods do not intersect. More... | |
| class | NullPointerError |
| A required output pointer was null. More... | |
| class | Period |
| A time period [start, end] in MJD. More... | |
| class | TempochException |
| Base exception for all tempoch errors. More... | |
| struct | UTC |
| UTC date-time breakdown. More... | |
| class | UtcConversionError |
| UTC conversion failed (date out of range or invalid). More... | |
Functions | |
| void | check_status (tempoch_status_t status, const char *operation) |
| Check a tempoch_status_t and throw the appropriate exception on error. | |
|
inline |
Check a tempoch_status_t and throw the appropriate exception on error.
Definition at line 71 of file ffi_core.hpp.
Referenced by tempoch::JulianDate::from_utc(), tempoch::MJD::from_utc(), tempoch::Period::intersection(), tempoch::Period::Period(), tempoch::JulianDate::to_utc(), and tempoch::MJD::to_utc().