Elements
6.2
A C++ base framework for the Euclid Software.
|
Go to the documentation of this file.
26 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_STORAGE_H_
27 #define ELEMENTSKERNEL_ELEMENTSKERNEL_STORAGE_H_
36 inline namespace Kernel {
62 template <std::
size_t max_digits,
typename T>
79 #define ELEMENTSKERNEL_ELEMENTSKERNEL_STORAGE_IMPL_
81 #undef ELEMENTSKERNEL_ELEMENTSKERNEL_STORAGE_IMPL_
83 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_STORAGE_H_
template ELEMENTS_API double roundToDigits< double >(const double &value, const std::size_t &max_digits)
defines the macros to be used for explicit export of the symbols
ELEMENTS_API std::map< StorageType, std::int64_t > StorageFactor
ELEMENTS_API T roundToDigits(const T &value, const std::size_t &max_digits)
template ELEMENTS_API double storageConvert< double >(const double &size, StorageType source_unit, StorageType target_unit)
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
template ELEMENTS_API float roundToDigits< float >(const float &value, const std::size_t &max_digits)
template ELEMENTS_API float storageConvert< float >(const float &size, StorageType source_unit, StorageType target_unit)
ELEMENTS_API std::map< StorageType, std::string > StorageShortName
ELEMENTS_API T storageConvert(const T &size, StorageType source_unit, StorageType target_unit)