|
SDDS ToolKit Programs and Libraries for C and Python
|
Typed layout and page transformations for the C++17 SDDS interface.
Implements checked scalar and vector conversions, layout editing, row masks and views, page filtering and projection, unit conversion, and streaming transformed copies.
Definition in file SDDSTransform.cc.
#include "SDDS.hpp"#include <algorithm>#include <cmath>#include <limits>#include <type_traits>Go to the source code of this file.
Functions | |
| Scalar | sdds::convertScalar (const Scalar &value, Type target, RoundingMode rounding) |
| Values | sdds::convertValues (const Values &values, Type target, RoundingMode rounding) |
| Page | sdds::convertUnits (const Page &page, FieldKind kind, std::string_view name, std::optional< std::string > units, long double factor) |
| void | sdds::copyDataset (Reader &reader, const std::filesystem::path &output, CopyOptions options) |
| Scalar sdds::convertScalar | ( | const Scalar & | value, |
| Type | target, | ||
| RoundingMode | rounding ) |
Definition at line 233 of file SDDSTransform.cc.
| Page sdds::convertUnits | ( | const Page & | page, |
| FieldKind | kind, | ||
| std::string_view | name, | ||
| std::optional< std::string > | units, | ||
| long double | factor ) |
Definition at line 430 of file SDDSTransform.cc.
| Values sdds::convertValues | ( | const Values & | values, |
| Type | target, | ||
| RoundingMode | rounding ) |
Definition at line 255 of file SDDSTransform.cc.
| void sdds::copyDataset | ( | Reader & | reader, |
| const std::filesystem::path & | output, | ||
| CopyOptions | options ) |
Definition at line 470 of file SDDSTransform.cc.