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

Command graph node incoming 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
 
IncomingEdgeConstIteratoroperator++ ()
 
IncomingEdgeConstIterator operator++ (int)
 
bool operator== (const IncomingEdgeConstIterator &other) const
 
bool operator!= (const IncomingEdgeConstIterator &other) const
 

Private Member Functions

 IncomingEdgeConstIterator (const std::unordered_set< Edge * >::const_iterator &it)
 

Private Attributes

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

Detailed Description

Command graph node incoming edge const iterator.

Definition at line 197 of file CommandGraph.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 202 of file CommandGraph.hpp.

◆ iterator_category

Definition at line 200 of file CommandGraph.hpp.

◆ pointer

Definition at line 203 of file CommandGraph.hpp.

◆ reference

Definition at line 204 of file CommandGraph.hpp.

◆ value_type

Definition at line 201 of file CommandGraph.hpp.

Constructor & Destructor Documentation

◆ IncomingEdgeConstIterator()

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

Definition at line 209 of file CommandGraph.hpp.

Member Function Documentation

◆ GetEdge()

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

Definition at line 215 of file CommandGraph.hpp.

◆ operator!=()

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

Definition at line 255 of file CommandGraph.hpp.

◆ operator*()

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

Definition at line 221 of file CommandGraph.hpp.

◆ operator++() [1/2]

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

Definition at line 234 of file CommandGraph.hpp.

◆ operator++() [2/2]

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

Definition at line 241 of file CommandGraph.hpp.

◆ operator->()

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

Definition at line 228 of file CommandGraph.hpp.

◆ operator==()

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

Definition at line 249 of file CommandGraph.hpp.

Member Data Documentation

◆ it_

std::unordered_set<Edge *>::const_iterator jlm::tooling::CommandGraph::Node::IncomingEdgeConstIterator::it_
private

Definition at line 261 of file CommandGraph.hpp.

◆ Node

friend jlm::tooling::CommandGraph::Node::IncomingEdgeConstIterator::Node
private

Definition at line 207 of file CommandGraph.hpp.


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