Function eprosima::fastdds::rtps::operator<<(std::ostream&, const LocatorList&)

Function Documentation

inline std::ostream &eprosima::fastdds::rtps::operator<<(std::ostream &output, const LocatorList &locList)

Insertion operator: serialize a locator list. The deserialization format is [locator1,locator2,…,locatorN]. Each individual locator within the list must follow the serialization format explained in the locator insertion operator.

Parameters
  • output – Output stream where the serialized locator list is appended.

  • locList – Locator list to be serialized/inserted.

Returns

std::ostream& Reference to the output stream with the serialized locator list appended.