Elements
6.2
A C++ base framework for the Euclid Software.
|
#include <cstdint>
#include <map>
#include <string>
#include "ElementsKernel/Export.h"
#include "ElementsKernel/_impl/Storage.tpp"
Go to the source code of this file.
Namespaces | |
Elements | |
Elements::Kernel | |
Elements::Kernel::Units | |
Macros | |
#define | ELEMENTSKERNEL_ELEMENTSKERNEL_STORAGE_IMPL_ |
Functions | |
template<typename T > | |
ELEMENTS_API T | Elements::Kernel::Units::roundToDigits (const T &value, const std::size_t &max_digits) |
template ELEMENTS_API double | Elements::Kernel::Units::roundToDigits< double > (const double &value, const std::size_t &max_digits) |
template ELEMENTS_API float | Elements::Kernel::Units::roundToDigits< float > (const float &value, const std::size_t &max_digits) |
template<std::size_t max_digits, typename T > | |
ELEMENTS_API T | Elements::Kernel::Units::storageConvert (const T &size, StorageType source_unit, StorageType target_unit) |
template<typename T > | |
ELEMENTS_API T | Elements::Kernel::Units::storageConvert (const T &size, StorageType source_unit, StorageType target_unit) |
template ELEMENTS_API double | Elements::Kernel::Units::storageConvert< double > (const double &size, StorageType source_unit, StorageType target_unit) |
template ELEMENTS_API float | Elements::Kernel::Units::storageConvert< float > (const float &size, StorageType source_unit, StorageType target_unit) |
template ELEMENTS_API std::int64_t | Elements::Kernel::Units::storageConvert< std::int64_t > (const std::int64_t &size, StorageType source_unit, StorageType target_unit) |
Variables | |
ELEMENTS_API std::map< StorageType, std::string > | Elements::Kernel::Units::StorageShortName |
ELEMENTS_API std::map< StorageType, std::int64_t > | Elements::Kernel::Units::StorageFactor |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file Storage.h.