Struct LocatorsIterator

Inheritance Relationships

Derived Types

Struct Documentation

struct LocatorsIterator

Provides a Locator’s iterator interface that can be used by different Locator’s containers

Subclassed by eprosima::fastdds::rtps::Locators, eprosima::fastrtps::rtps::LocatorSelector::iterator

Public Functions

virtual LocatorsIterator &operator++() = 0

Increment operator.

Returns

LocatorsIterator& reference to the next LocatorsIterator.

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

Equal to operator.

Parameters

otherLocatorsIterator to compare.

Returns

true if equal.

Returns

false otherwise.

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

Not equal to operator.

Parameters

otherLocatorsIterator to compare.

Returns

true if not equal.

Returns

false otherwise.

virtual const Locator &operator*() const = 0

Dereference operator.

Returns

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