dimval 0.2.0
Modern C++23 header-only library of dimensional values (units, measures, ranges)
Loading...
Searching...
No Matches
dimval Directory Reference
Directory dependency graph for dimval:
include/dimval

Directories

 measures
 
 units
 

Files

 base.hpp
 CRTP bases that turn unit/measure tag structs into self-describing types.
 
 core.hpp
 Common concepts, error types, and small utilities used across dimval.
 
 define.hpp
 Macros that expand into a CRTP unit/measure struct and a runtime auto-registration for it.
 
 descriptor.hpp
 Runtime metadata structs for units and measures.
 
 dimval.hpp
 Umbrella header.
 
 format.hpp
 std::formatter specializations for UnitValue, MeasureValue, ranges, and descriptors.
 
 hash.hpp
 std::hash specializations for all dimval value types.
 
 interface.hpp
 Abstract interfaces for runtime polymorphic handling of dimensional values.
 
 json_nlohmann.hpp
 Optional nlohmann::json integration.
 
 math.hpp
 Free-function helpers that preserve unit/measure tags.
 
 measure.hpp
 MeasureValue<M,T>: a UnitValue tagged with an additional semantic measure.
 
 ostream.hpp
 std::ostream operator<< for all value types — delegates to std::format.
 
 parcel.hpp
 Optional cpp-parcel integration.
 
 parse.hpp
 Parse string literals like "42.5 m" into UnitValue / MeasureValue.
 
 parse_detail.hpp
 Low-level parsing primitives shared by parse.hpp and the inline UnitValue::parse / MeasureValue::parse static methods.
 
 range.hpp
 UnitRangeValue and MeasureRangeValue — closed/open intervals of dimensional values.
 
 registry.hpp
 Thread-safe runtime registries of unit and measure descriptors.
 
 traits.hpp
 Concepts and helper accessors that drive the static side of dimval.
 
 unit.hpp
 UnitValue<U,T>: a strongly-typed value carrying a compile-time unit tag.