helics  2.8.1
PrecHelper.hpp
1 /*
2 Copyright (c) 2017-2021,
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 
9 #include "../application_api/helicsTypes.hpp"
10 
11 #include <string>
12 
13 namespace helics {
14 class FederateInfo;
15 } // namespace helics
16 
17 helics::data_type getType(const std::string& typeString);
18 
19 char typeCharacter(helics::data_type type);
20 
21 bool isBinaryData(helics::data_block& data);
24 bool isEscapableData(helics::data_block& data);
data
@ data
print timing+data transmissions
Definition: loggingHelper.hpp:30
helics::apps::Player
Definition: Player.hpp:42
helics::data_block
Definition: core-data.hpp:31
helics::cleanupHelicsLibrary
void cleanupHelicsLibrary()
Definition: Federate.cpp:36
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
helics::data_type
data_type
Definition: helicsTypes.hpp:275
helics_complex
struct helics_complex helics_complex
helics::getTypeFromString
data_type getTypeFromString(const std::string &typeName)
Definition: helicsTypes.cpp:187
helics::HelicsException
Definition: core-exceptions.hpp:18