feat: 💥 !data system renamed to isq::iec80000 (quantity names renamed too)

Relates to #253
This commit is contained in:
Mateusz Pusz
2021-03-19 23:04:52 +01:00
parent 0cbfcf2aa6
commit fc7b0e44e2
31 changed files with 481 additions and 416 deletions
+3
View File
@@ -5,6 +5,7 @@
- (!) refactor: output stream operators moved to the `units/quantity_io.h` header file
- (!) refactor: Refactored the library file tree
- (!) refactor: `quantity::count()` renamed to `quantity::number()`
- (!) refactor: `data` system renamed to `isq::iec80000` (quantity names renamed too)
- refactor: quantity (kind) point updated to reflect latest changes to `quantity`
- refactor: basic concepts, `quantity` and `quantity_cast` refactored
- refactor: `abs()` definition refactored to be more explicit about the return type
@@ -12,6 +13,8 @@
- feat: quantity references support added (thanks [@johelegp](https://github.com/johelegp))
- feat: interoperability with `std::chrono::duration` and other units libraries
- feat: CTAD for dimensionless quantity added
- feat: `modulation_rate` support added (thanks [@go2sh](https://github.com/go2sh))
- feat: SI prefixes for `isq::iec80000` support added (thanks [@go2sh](https://github.com/go2sh))
- perf: preconditions check do not influence the runtime performance of a Release build
- perf: `quantity_cast()` generates less assembly instructions
- perf: temporary string creation removed from `quantity::op<<()`
+7 -5
View File
@@ -114,11 +114,6 @@ set(unitsSphinxDocs
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/data.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/data/bitrate.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/data/information.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/data/prefixes.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/generic.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/generic/angle.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/generic/dimensionless.rst"
@@ -126,6 +121,13 @@ set(unitsSphinxDocs
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/iec80000.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/iec80000/binary_prefixes.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/iec80000/modulation_rate.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/iec80000/storage_capacity.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/iec80000/traffic_intensity.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/iec80000/transfer_rate.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/natural.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/natural/constants.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/reference/systems/isq/natural/dimensions.rst"
-5
View File
@@ -10,8 +10,3 @@ Systems
:maxdepth: 2
systems/isq
.. toctree::
:maxdepth: 1
systems/data
-9
View File
@@ -1,9 +0,0 @@
Data
====
.. toctree::
:maxdepth: 2
data/prefixes
data/information
data/bitrate
-4
View File
@@ -1,4 +0,0 @@
Bitrate
=======
.. doxygenfile:: data/bitrate.h
@@ -1,4 +0,0 @@
Information
===========
.. doxygenfile:: data/information.h
-4
View File
@@ -1,4 +0,0 @@
Prefixes
========
.. doxygenfile:: data/prefixes.h
+1
View File
@@ -6,6 +6,7 @@ International System of Quantities (ISQ)
isq/dimensions_and_concepts
isq/si
isq/iec80000
isq/si_cgs
isq/si_international
isq/si_us
+11
View File
@@ -0,0 +1,11 @@
IEC 80000
=========
.. toctree::
:maxdepth: 2
iec80000/binary_prefixes
iec80000/modulation_rate
iec80000/storage_capacity
iec80000/traffic_intensity
iec80000/transfer_rate
@@ -0,0 +1,4 @@
Binary Prefixes
===============
.. doxygenfile:: iec80000/binary_prefixes.h
@@ -0,0 +1,4 @@
Modulation Rate
===============
.. doxygenfile:: iec80000/modulation_rate.h
@@ -0,0 +1,4 @@
Sotrage Capacity
================
.. doxygenfile:: iec80000/storage_capacity.h
@@ -0,0 +1,4 @@
Traffic Intensity
=================
.. doxygenfile:: iec80000/traffic_intensity.h
@@ -0,0 +1,4 @@
Transfer Rate
=============
.. doxygenfile:: iec80000/transfer_rate.h