|
Dev Essential
1.6.3
|
#include <ddl/dd/datamodel/datamodel_units.h>#include <memory>#include <string>#include <type_traits>#include <unordered_map>Go to the source code of this file.
Classes | |
| struct | ddl::BaseUnit< T > |
| Generator template to create baseunits. More... | |
| struct | ddl::UnitPrefix< T > |
| Generator template to create UnitPrefix. More... | |
| class | ddl::PredefinedUnits |
| Static class for predefined units. More... | |
Namespaces | |
| namespace | ddl |
| definition of the ddl namespace | |
| namespace | ddl::unit |
| definiton of the unit namespace | |
| namespace | ddl::unit_prefix |
| definiton of the unit prefixes namespace | |
Macros | |
| #define | DDL_BASE_UNIT_DEFINITION(classname, baseunitname, baseunitsymbol, baseunitdescription) |
| #define | DDL_UNIT_PREFIX_DEFINITION(classname, unitprefixname, unitprefixsymbol, unitprefixpower) |
| Unit prefix template definiton. | |
OO DataDefinition Redesign
Copyright 2025 Digitalwerk GmbH. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
| #define DDL_BASE_UNIT_DEFINITION | ( | classname, | |
| baseunitname, | |||
| baseunitsymbol, | |||
| baseunitdescription ) |
Base unit template definiton
| classname | the classname for the base unit |
| baseunitname | the name for the base unit |
| baseunitsymbol | the symbol for the base unit |
| baseunitdescription | the description for the base unit |
| #define DDL_UNIT_PREFIX_DEFINITION | ( | classname, | |
| unitprefixname, | |||
| unitprefixsymbol, | |||
| unitprefixpower ) |
Unit prefix template definiton.
| classname | the classname for the unit prefix |
| unitprefixname | the prefix name for the unit prefix |
| unitprefixsymbol | the symbol for the unit prefix |
| unitprefixpower | the power for the unit prefix |