helics
3.5.1
|
#include <LocalFederateId.hpp>
Public Types | |
using | BaseType = IdentifierBaseType |
Public Member Functions | |
constexpr | InterfaceHandle ()=default |
constexpr | InterfaceHandle (BaseType val) noexcept |
constexpr BaseType | baseValue () const |
bool | operator== (InterfaceHandle id) const noexcept |
bool | operator!= (InterfaceHandle id) const noexcept |
bool | operator< (InterfaceHandle id) const noexcept |
bool | operator> (InterfaceHandle id) const noexcept |
bool | isValid () const |
BaseType * | getBaseTypePointer () |
class defining a LocalFederateId
the intent of this class is to limit the operations available on a federate identifier to those that are actually required and make sense, and make it as low impact as possible. it also acts to limit any mistakes of a LocalFederateId
|
constexprdefault |
default constructor
|
inlineconstexpr |
extract the base value of the id code
Referenced by helics::HandleManager::addHandle(), helics::ActionMessage::getExtraData(), helics::ActionMessage::getExtraDestData(), helics::HandleManager::getHandleInfo(), helics::CommonCore::getHandleInfo(), helics::HandleManager::getInterfaceHandle(), helics::GlobalHandle::operator uint64_t(), helics::prettyPrintString(), helics::CommonCore::setInterfaceInfo(), helics::CommonCore::setInterfaceTag(), 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().
|
inlinenoexcept |
inequality operator
|
inlinenoexcept |
comparison operator for sorting
|
inlinenoexcept |
equality operator