17.2.2.6.3. GUID_t Operators

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

GUID comparison operator

Parameters
  • g1 – First GUID to compare

  • g2 – Second GUID to compare

Returns

True if equal

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

GUID comparison operator

Parameters
  • g1 – First GUID to compare

  • g2 – Second GUID to compare

Returns

True if not equal

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

Stream operator, prints a GUID.

Parameters
  • output – Output stream.

  • guidGUID_t to print.

Returns

Stream operator.

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

Stream operator, retrieves a GUID.

Parameters
  • input – Input stream.

  • guidGUID_t to print.

Returns

Stream operator.