![]() |
helics
2.8.1
|
#include <global_federate_id.hpp>
Public Types | |
using | base_type = identififier_base_type |
Public Member Functions | |
constexpr | global_federate_id ()=default |
constexpr | global_federate_id (base_type val) noexcept |
constexpr | global_federate_id (global_broker_id id) noexcept |
constexpr | operator global_broker_id () const noexcept |
constexpr base_type | baseValue () const |
bool | operator== (global_federate_id id) const noexcept |
bool | operator!= (global_federate_id id) const noexcept |
bool | operator< (global_federate_id id) const noexcept |
bool | operator> (global_federate_id id) const noexcept |
bool | operator== (global_broker_id id) const noexcept |
bool | operator!= (global_broker_id id) const noexcept |
bool | operator< (global_broker_id id) const noexcept |
bool | operator> (global_broker_id id) const noexcept |
bool | isFederate () const |
bool | isBroker () const |
bool | isValid () const |
constexpr base_type | localIndex () const |
class holder a globally unique identifier for federates
|
constexprdefault |
default constructor
|
inlineconstexprnoexcept |
implicit conversion from global_id
|
inlineconstexpr |
conversion to the base_type
Referenced by helics::global_handle::operator uint64_t(), helics::prettyPrintString(), helics::FilterFederate::processFilterReturn(), helics::BrokerBase::sendToLogger(), helics::ActionMessage::to_json_string(), and helics::ActionMessage::toByteArray().
|
inline |
return true if the broker_id is a valid broker id code
|
inline |
return true if the broker_id is a valid federate id code
|
inline |
return true if the broker_id is a valid broker id code
|
inlineconstexpr |
generate a local offset index
the global_id is shifted by a certain amount
|
inlinenoexcept |
inequality operator
|
inlinenoexcept |
inequality operator
|
inlinenoexcept |
less than operator for sorting
|
inlinenoexcept |
less than operator for sorting
|
inlinenoexcept |
equality operator
|
inlinenoexcept |
equality operator
|
inlinenoexcept |
greater than operator for sorting
|
inlinenoexcept |
greater than operator for sorting