Function eprosima::fastrtps::rtps::operator<<(std::ostream&, const Locator_t&)
Defined in File Locator.h
Function Documentation
-
inline std::ostream &eprosima::fastrtps::rtps::operator<<(std::ostream &output, const Locator_t &loc)
Insertion operator: serialize a locator The serialization format is kind:[address]:port
kind
must be one of the following:UDPv4
UDPv6
TCPv4
TCPv6
SHM
address
IP address unlesskind
is SHMport
number
- Parameters
output – Output stream where the serialized locator is appended.
loc – Locator to be serialized/inserted.
- Returns
std::ostream&
Reference to the output stream with the serialized locator appended.