helics  3.5.2
FederateIdExtra.hpp
1 /*
2 Copyright (c) 2017-2024,
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 
8 #pragma once
9 #include "GlobalFederateId.hpp"
10 #include "gmlc/containers/MapTraits.hpp"
11 
14 template<>
15 struct is_easily_hashable<helics::InterfaceHandle> {
16  static constexpr bool value = true;
17 };
18 
21 template<>
22 struct is_easily_hashable<helics::GlobalFederateId> {
23  static constexpr bool value = true;
24 };
25 
28 template<>
29 struct is_easily_hashable<helics::LocalFederateId> {
30  static constexpr bool value = true;
31 };
32 
35 template<>
36 struct is_easily_hashable<helics::GlobalBrokerId> {
37  static constexpr bool value = true;
38 };
39 
42 template<>
43 struct is_easily_hashable<helics::route_id> {
44  static constexpr bool value = true;
45 };
46 
49 template<>
50 struct is_easily_hashable<helics::GlobalHandle> {
51  static constexpr bool value = true;
52 };
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14