17.2.2.4.4. EntityId_t Operators

inline bool eprosima::fastrtps::rtps::operator==(EntityId_t &id1, const uint32_t id2)

Guid prefix comparison operator

Parameters
  • id1 – EntityId to compare

  • id2 – ID prefix to compare

Returns

True if equal

inline bool eprosima::fastrtps::rtps::operator==(const EntityId_t &id1, const EntityId_t &id2)

Guid prefix comparison operator

Parameters
  • id1 – First EntityId to compare

  • id2 – Second EntityId to compare

Returns

True if equal

inline bool eprosima::fastrtps::rtps::operator!=(const EntityId_t &id1, const EntityId_t &id2)

Guid prefix comparison operator

Parameters
  • id1 – First EntityId to compare

  • id2 – Second EntityId to compare

Returns

True if not equal

inline std::ostream &eprosima::fastrtps::rtps::operator<<(std::ostream &output, const EntityId_t &enI)
inline std::istream &eprosima::fastrtps::rtps::operator>>(std::istream &input, EntityId_t &enP)