helics 3.7.0
Loading...
Searching...
No Matches
typeOperations.hpp
Go to the documentation of this file.
1/*
2Copyright (c) 2017-2026,
3Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Energy
4Innovation LLC. See the top-level NOTICE for additional details. All rights reserved.
5SPDX-License-Identifier: BSD-3-Clause
6*/
7#pragma once
8#include "../core/CoreTypes.hpp"
9#include "helics_cxx_export.h"
10
11#include <string>
12
17namespace helics {
19HELICS_CXX_EXPORT std::string to_string(CoreType type);
20
26HELICS_CXX_EXPORT CoreType coreTypeFromString(std::string_view type) noexcept;
27
31HELICS_CXX_EXPORT bool isCoreTypeAvailable(CoreType type) noexcept;
32
34HELICS_CXX_EXPORT std::string systemInfo();
35
36} // namespace helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition AsyncFedCallInfo.hpp:14
CoreType
Definition CoreTypes.hpp:46
bool isCoreTypeAvailable(CoreType type) noexcept
Definition typeOperations.cpp:25
CoreType coreTypeFromString(std::string_view type) noexcept
Definition typeOperations.cpp:20
std::string to_string(CoreType type)
Definition typeOperations.cpp:15
std::string systemInfo()
Definition typeOperations.cpp:30