![]() |
helics
3.0.1
|
#include <GlobalFederateId.hpp>
Public Types | |
using | BaseType = IdentifierBaseType |
Public Member Functions | |
constexpr | GlobalFederateId ()=default |
constexpr | GlobalFederateId (BaseType val) noexcept |
constexpr | GlobalFederateId (GlobalBrokerId id) noexcept |
constexpr | operator GlobalBrokerId () const noexcept |
constexpr BaseType | baseValue () const |
bool | operator== (GlobalFederateId id) const noexcept |
bool | operator!= (GlobalFederateId id) const noexcept |
bool | operator< (GlobalFederateId id) const noexcept |
bool | operator> (GlobalFederateId id) const noexcept |
bool | operator== (GlobalBrokerId id) const noexcept |
bool | operator!= (GlobalBrokerId id) const noexcept |
bool | operator< (GlobalBrokerId id) const noexcept |
bool | operator> (GlobalBrokerId id) const noexcept |
bool | isFederate () const |
bool | isBroker () const |
bool | isValid () const |
constexpr BaseType | localIndex () const |
BaseType * | getBaseTypePointer () |
class holder a globally unique identifier for federates
|
constexprdefault |
default constructor
|
inlineconstexprnoexcept |
implicit conversion from global_id
|
inlineconstexpr |
conversion to the BaseType
Referenced by helics::GlobalHandle::operator uint64_t(), helics::prettyPrintString(), helics::FilterFederate::processFilterReturn(), helics::TimeCoordinator::processTimeMessage(), helics::BrokerBase::sendToLogger(), helics::ActionMessage::to_json_string(), and helics::ActionMessage::toByteArray().
|
inline |
get a pointer to the index value type for copying from memory
Referenced by helics::ActionMessage::fromByteArray().
|
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