17.2.2.6.3. GUID_t Operators

bool eprosima::fastrtps::rtps::operator==(const GUID_t &g1, const GUID_t &g2)

GUID comparison operator

Return

True if equal

Parameters
  • g1: First GUID to compare

  • g2: Second GUID to compare

bool eprosima::fastrtps::rtps::operator!=(const GUID_t &g1, const GUID_t &g2)

GUID comparison operator

Return

True if not equal

Parameters
  • g1: First GUID to compare

  • g2: Second GUID to compare

bool eprosima::fastrtps::rtps::operator<(const GUID_t &g1, const GUID_t &g2)
std::ostream &eprosima::fastrtps::rtps::operator<<(std::ostream &output, const GUID_t &guid)

Stream operator, prints a GUID.

Return

Stream operator.

Parameters
  • output: Output stream.

  • guid: GUID_t to print.

std::istream &eprosima::fastrtps::rtps::operator>>(std::istream &input, GUID_t &guid)

Stream operator, retrieves a GUID.

Return

Stream operator.

Parameters
  • input: Input stream.

  • guid: GUID_t to print.