![]() |
helics
2.8.1
|
#include <global_federate_id.hpp>
Public Member Functions | |
constexpr | global_handle ()=default |
constexpr | global_handle (global_federate_id fed, interface_handle hand) |
operator uint64_t () const | |
bool | operator== (global_handle id) const noexcept |
bool | operator!= (global_handle id) const noexcept |
bool | operator< (global_handle id) const noexcept |
bool | isValid () const |
Public Attributes | |
global_federate_id | fed_id = global_federate_id{} |
the federate id component | |
interface_handle | handle = interface_handle{} |
the interface handle component | |
class merging a global id and handle together
|
constexprdefault |
default constructor
|
inlineconstexpr |
construct directly from a federate_id and interface_handle
|
inline |
check if the handle points to a validly specified interface
|
inlineexplicit |
convert to a uint64_t
for use in maps and other things
References helics::interface_handle::baseValue(), helics::global_federate_id::baseValue(), fed_id, and handle.
|
inlinenoexcept |
inequality operator
|
inlinenoexcept |
less than operator for sorting
|
inlinenoexcept |
equality operator