Elements  6.2
A C++ base framework for the Euclid Software.
Namespaces | Functions
Storage.cpp File Reference
#include "ElementsKernel/Storage.h"
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <map>
#include <string>
Include dependency graph for Storage.cpp:

Go to the source code of this file.

Namespaces

 Elements
 
 Elements::Kernel
 
 Elements::Kernel::Units
 

Functions

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 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 int64_t Elements::Kernel::Units::storageConvert< int64_t > (const int64_t &size, StorageType source_unit, StorageType target_unit)
 

Detailed Description

Date
Dec 22, 2014
Author
Hubert Degaudenzi

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.cpp.