|
Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
|
#include <string>#include <unordered_map>#include <typeindex>#include <mutex>

Go to the source code of this file.
Classes | |
| struct | Phyth::UnitInfo |
| Display information for a unit type. More... | |
| class | Phyth::UnitRegistry |
| Singleton registry for unit names and symbols. More... | |
| struct | Phyth::UnitRegistrar< UnitT > |
| Static registrar for unit types. More... | |
Namespaces | |
| namespace | Phyth |
| struct Phyth::UnitInfo |
Display information for a unit type.
Contains human-readable strings used by QuantityToString().
Definition at line 15 of file UnitsRegistry.hpp.
| Class Members | ||
|---|---|---|
| string | name |
Full unit name, e.g., "Meter", "Kilogram" |
| string | symbol |
Unit symbol, e.g., "m", "kg", "N" |