Jlm
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator Class Referencefinal

Command graph node outgoing edge const iterator. More...

#include <CommandGraph.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Edge *
 
using difference_type = std::ptrdiff_t
 
using pointer = Edge **
 
using reference = Edge *&
 

Public Member Functions

const EdgeGetEdge () const noexcept
 
const Edgeoperator* () const
 
const Edgeoperator-> () const
 
OutgoingEdgeConstIteratoroperator++ ()
 
OutgoingEdgeConstIterator operator++ (int)
 
bool operator== (const OutgoingEdgeConstIterator &other) const
 
bool operator!= (const OutgoingEdgeConstIterator &other) const
 

Private Member Functions

 OutgoingEdgeConstIterator (const std::unordered_set< std::unique_ptr< Edge >>::const_iterator &it)
 

Private Attributes

friend Node
 
std::unordered_set< std::unique_ptr< Edge > >::const_iterator it_
 

Detailed Description

Command graph node outgoing edge const iterator.

Definition at line 266 of file CommandGraph.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 271 of file CommandGraph.hpp.

◆ iterator_category

Definition at line 269 of file CommandGraph.hpp.

◆ pointer

Definition at line 272 of file CommandGraph.hpp.

◆ reference

Definition at line 273 of file CommandGraph.hpp.

◆ value_type

Definition at line 270 of file CommandGraph.hpp.

Constructor & Destructor Documentation

◆ OutgoingEdgeConstIterator()

jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::OutgoingEdgeConstIterator ( const std::unordered_set< std::unique_ptr< Edge >>::const_iterator &  it)
inlineexplicitprivate

Definition at line 278 of file CommandGraph.hpp.

Member Function Documentation

◆ GetEdge()

const Edge* jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::GetEdge ( ) const
inlinenoexcept

Definition at line 285 of file CommandGraph.hpp.

◆ operator!=()

bool jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::operator!= ( const OutgoingEdgeConstIterator other) const
inline

Definition at line 325 of file CommandGraph.hpp.

◆ operator*()

const Edge& jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::operator* ( ) const
inline

Definition at line 291 of file CommandGraph.hpp.

◆ operator++() [1/2]

OutgoingEdgeConstIterator& jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::operator++ ( )
inline

Definition at line 304 of file CommandGraph.hpp.

◆ operator++() [2/2]

OutgoingEdgeConstIterator jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::operator++ ( int  )
inline

Definition at line 311 of file CommandGraph.hpp.

◆ operator->()

const Edge* jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::operator-> ( ) const
inline

Definition at line 298 of file CommandGraph.hpp.

◆ operator==()

bool jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::operator== ( const OutgoingEdgeConstIterator other) const
inline

Definition at line 319 of file CommandGraph.hpp.

Member Data Documentation

◆ it_

std::unordered_set<std::unique_ptr<Edge> >::const_iterator jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::it_
private

Definition at line 331 of file CommandGraph.hpp.

◆ Node

friend jlm::tooling::CommandGraph::Node::OutgoingEdgeConstIterator::Node
private

Definition at line 276 of file CommandGraph.hpp.


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