subsurface/smtk-import
Berthold Stoeger ae81b42fe2 core: introduce a few user-defined literals for unit types
Thise makes initialization of unit types more palatable.

For example:

    surface.time = sample.time - duration_t { .seconds = 20 };
=>  surface.time = sample.time - 20_sec;

    delta_depth.mm = feet_to_mm(1.0); // 1ft
=>  delta_depth = 1_ft;

    get_cylinderid_at_time(..., { .seconds = 20 * 60 + 1 }));
=>  get_cylinderid_at_time(..., 20_min + 1_sec));

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-09-11 10:23:07 +02:00
..
cmake/Modules Windows: Fix smtk-import Build. 2024-08-17 23:33:58 +12:00
CMakeLists.txt import: compile smartrak.cpp as C++ 2024-04-23 07:47:11 +07:00
smartrak.cpp core: introduce a few user-defined literals for unit types 2024-09-11 10:23:07 +02:00
smrtk2ssrfc_window.cpp core: use std::string in error_callback 2024-08-13 19:28:30 +02:00
smrtk2ssrfc_window.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
smrtk2ssrfc_window.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
smtk2ssrf.desktop smtk-import: Add smtk2ssrf.desktop to sources 2018-02-24 13:42:01 -08:00
smtk_standalone.cpp Replace qDebug() by report_info() in smtk-import 2024-04-23 07:47:11 +07:00