MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / forAllUnits

Function forAllUnits

source/MRViewer/MRUnitSettings.cpp:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 func.template operator()<RatioUnit>();
25}
26static void forAllUnits( auto&& func )
27{
28 forAllLengthUnits( func );
29 forAllAngleUnits( func );
30 forAllRatioUnits( func );
31 // All non-length/angle-related unit types must be listed here.
32 func.template operator()<NoUnit>();
33 func.template operator()<TimeUnit>();
34 func.template operator()<PixelSizeUnit>();
35}
36
37void resetToDefaults()
38{

Callers 2

setShowLeadingZeroFunction · 0.85
setThousandsSeparatorFunction · 0.85

Calls 3

forAllLengthUnitsFunction · 0.85
forAllAngleUnitsFunction · 0.85
forAllRatioUnitsFunction · 0.85

Tested by

no test coverage detected