helics
3.3.0
src
helics
application_api
timeOperations.hpp
Go to the documentation of this file.
1
/*
2
Copyright (c) 2017-2022,
3
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
4
Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
5
SPDX-License-Identifier: BSD-3-Clause
6
*/
7
#pragma once
8
#include "../core/helicsTime.hpp"
9
#include "helics_cxx_export.h"
10
11
#include <string_view>
15
namespace
helics
{
16
23
HELICS_CXX_EXPORT
Time
loadTimeFromString
(std::string_view timeString);
24
33
HELICS_CXX_EXPORT
Time
loadTimeFromString
(std::string_view timeString, time_units defUnit);
34
39
HELICS_CXX_EXPORT time_units
timeUnitsFromString
(std::string_view unitString);
40
41
}
// namespace helics
timeOperations.hpp
helics::timeUnitsFromString
time_units timeUnitsFromString(std::string_view unitString)
Definition:
timeOperations.cpp:16
helics::Time
TimeRepresentation< count_time< 9 > > Time
Definition:
helicsTime.hpp:27
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition:
AsyncFedCallInfo.hpp:14
helics::loadTimeFromString
Time loadTimeFromString(std::string_view timeString)
Definition:
timeOperations.cpp:21
Generated by
1.8.17