|
ADTF File Library
|
#include <chrono>#include <string>#include <a_util/datetime/datetime.h>#include <optional>Go to the source code of this file.
Namespaces | |
| namespace | adtf_file |
| namespace for ADTF File library | |
Functions | |
| std::string | adtf_file::fractional_value_to_string (const int64_t fractional_value, std::optional< size_t > fixed_precision={}) |
| Converts the decimal part of a floating point number given as an integer value into a string. | |
| std::chrono::nanoseconds | adtf_file::parseTimestamp (const std::string &strTimestamp) |
| General parser for timestamps in several formats (ISO-8601, number+unit). | |
| std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > | adtf_file::parseIsoTimestamp (const std::string &strTimestamp) |
| Convert ISO 8601 string to timestamp in nanoseconds of system_clock ( high performance clock ). e.g. 2024-09-26T23:59:59Z e.g. 2024-09-26T23:59:59.123456789Z. | |
| std::string | adtf_file::createIsoTimestampString (const std::chrono::nanoseconds &nanos, std::optional< size_t > fixed_precision={}, bool local_time=false) |
| Format ISO 8601 string from a 'std.chrono.nanoseconds' param. | |
| std::string | adtf_file::createDurationString (std::chrono::nanoseconds const ns, std::optional< size_t > fixed_precision={}) |
| Create string in seconds (and fractions) and without unit postfix. | |
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/.
If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.
You may add additional accurate notices of copyright ownership.