17.2.2.4.4. EntityId_t Operators

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

Guid prefix comparison operator

Return

True if equal

Parameters
  • id1: EntityId to compare

  • id2: ID prefix to compare

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

Guid prefix comparison operator

Return

True if equal

Parameters
  • id1: First EntityId to compare

  • id2: Second EntityId to compare

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

Guid prefix comparison operator

Return

True if not equal

Parameters
  • id1: First EntityId to compare

  • id2: Second EntityId to compare

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