Class LocatorSelector::iterator

Nested Relationships

This class is a nested type of Class LocatorSelector.

Inheritance Relationships

Base Type

Class Documentation

class iterator : public eprosima::fastdds::rtps::LocatorsIterator

Public Types

enum class Position

Values:

enumerator Begin
enumerator End

Public Functions

inline explicit iterator(const LocatorSelector &locator_selector, Position index_pos)
inline iterator(const iterator &other)
inline virtual iterator &operator++()

Increment operator.

Returns:

LocatorsIterator& reference to the next LocatorsIterator.

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

Equal to operator.

Parameters:

other – LocatorsIterator to compare.

Returns:

true if equal.

Returns:

false otherwise.

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

Not equal to operator.

Parameters:

other – LocatorsIterator to compare.

Returns:

true if not equal.

Returns:

false otherwise.

inline bool operator==(const iterator &other) const
inline bool operator!=(const iterator &other) const
inline pointer operator->() const
inline virtual reference operator*() const

Dereference operator.

Returns:

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