MIRA
Public Types | Public Member Functions | List of all members
GatewayNode::OutgoingLinkIterator Class Reference

#include <topomap/GatewayNode.h>

Inheritance diagram for GatewayNode::OutgoingLinkIterator:
Inheritance graph
[legend]

Public Types

enum  SpecialValue { BEGIN_ITERATOR, END_ITERATOR }
 
typedef LinkPtr value_type
 
typedef const value_typereference
 
typedef const value_typepointer
 

Public Member Functions

 OutgoingLinkIterator (GatewayNodePtr g, SpecialValue v=BEGIN_ITERATOR)
 
bool operator== (const OutgoingLinkIterator &other) const
 
bool operator!= (const OutgoingLinkIterator &other) const
 
pointer operator-> ()
 
reference operator* ()
 
OutgoingLinkIteratoroperator++ ()
 
LinkPtr link ()
 Returns a pointer to the currently iterated link. More...
 
GatewayNodePtr endpoint ()
 Returns the other endpoint of the link starting in this gateway node. More...
 

Member Typedef Documentation

◆ value_type

◆ reference

typedef const value_type& reference

◆ pointer

typedef const value_type* pointer

Member Enumeration Documentation

◆ SpecialValue

Enumerator
BEGIN_ITERATOR 
END_ITERATOR 

Constructor & Destructor Documentation

◆ OutgoingLinkIterator()

Member Function Documentation

◆ operator==()

bool operator== ( const OutgoingLinkIterator other) const

◆ operator!=()

bool operator!= ( const OutgoingLinkIterator other) const

◆ operator->()

pointer operator-> ( )
inline

◆ operator*()

reference operator* ( )
inline

◆ operator++()

OutgoingLinkIterator& operator++ ( )
inline

◆ link()

LinkPtr link ( )
inline

Returns a pointer to the currently iterated link.

◆ endpoint()

GatewayNodePtr endpoint ( )

Returns the other endpoint of the link starting in this gateway node.

For unidirectional links this will always be link()->to(), but for bidirectional links this may also be link()->from().


The documentation for this class was generated from the following file: