19.2.3.10.9. Locators

class Locators : public eprosima::fastdds::rtps::LocatorsIterator

Adapter class that provides a LocatorsIterator interface from a LocatorListConstIterator

Public Functions

inline Locators(const LocatorListConstIterator &it)

Constructor.

inline Locators(const Locators &other)

Copy constructor.

inline virtual LocatorsIterator &operator++()

Increment operator.

Returns:

LocatorsIterator& reference to the next LocatorsIterator.

inline virtual bool operator==(const LocatorsIterator &other) const

Equal to operator.

Parameters:

otherLocatorsIterator to compare.

Returns:

true if equal.

Returns:

false otherwise.

inline virtual bool operator!=(const LocatorsIterator &other) const

Not equal to operator.

Parameters:

otherLocatorsIterator to compare.

Returns:

true if not equal.

Returns:

false otherwise.

inline virtual const Locator &operator*() const

Dereference operator.

Returns:

const Locator& Reference to the locator pointed by the LocatorsIterator.