19.2.3.7.3. GUID_t Operators

inline bool eprosima::fastdds::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::fastdds::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::fastdds::rtps::operator<(const GUID_t &g1, const GUID_t &g2)
inline std::ostream &eprosima::fastdds::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::fastdds::rtps::operator>>(std::istream &input, GUID_t &guid)

Stream operator, retrieves a GUID.

Parameters:
  • input – Input stream.

  • guidGUID_t to print.

Returns:

Stream operator.