Struct LocatorsIterator
Defined in File LocatorsIterator.hpp
Inheritance Relationships
Derived Types
public eprosima::fastdds::rtps::Locators
(Class Locators)public eprosima::fastrtps::rtps::LocatorSelector::iterator
(Class LocatorSelector::iterator)
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
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