![]() |
helics
2.8.1
|
#include <federate_id.hpp>
Public Types | |
using | base_type = identififier_base_type |
Public Member Functions | |
constexpr | local_federate_id ()=default |
constexpr | local_federate_id (base_type val) noexcept |
constexpr base_type | baseValue () const |
bool | operator== (local_federate_id id) const noexcept |
bool | operator!= (local_federate_id id) const noexcept |
bool | operator< (local_federate_id id) const noexcept |
bool | isValid () const |
class defining a local_federate_id
the intent of this class is to limit the operations available on a federate identifier to those that are a actually required and make sense, and make it as low impact as possible. it also acts to limit any mistakes of a local_federate_id
|
constexprdefault |
default constructor
|
inlineexplicitconstexprnoexcept |
convert a base type value into a local_federate id
|
inlineconstexpr |
extract the base value of the id code
Referenced by helics::CommonCore::getFederateAt().
|
inline |
check if the operator is valid
valid operators have been set to something other than the default value
|
inlinenoexcept |
inequality operator
|
inlinenoexcept |
less than operator for sorting
|
inlinenoexcept |
equality operator