15.2.2.4.4. EntityId_t OperatorsΒΆ

bool rtps::fastrtps::eprosima::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 rtps::fastrtps::eprosima::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 rtps::fastrtps::eprosima::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 &rtps::fastrtps::eprosima::operator<<(std::ostream &output, const EntityId_t &enI)
std::istream &rtps::fastrtps::eprosima::operator>>(std::istream &input, EntityId_t &enP)