17.2.3.9.8. LocatorsIterator¶
-
struct eprosima::fastdds::rtps::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
other – LocatorsIterator to compare.
- Returns
true if equal.
- Returns
false otherwise.
-
virtual bool operator!=(const LocatorsIterator &other) const = 0¶
Not equal to operator.
- Parameters
other – LocatorsIterator 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.
-
virtual LocatorsIterator &operator++() = 0¶