Verilog to Routing - VPR
Public Member Functions | Private Attributes | Friends
edge_idx_iterator Class Reference

An iterator that dereferences to an edge index. More...

#include <vpr_types.h>

Inheritance diagram for edge_idx_iterator:
Inheritance graph
[legend]
Collaboration diagram for edge_idx_iterator:
Collaboration graph
[legend]

Public Member Functions

 edge_idx_iterator (value_type init)
 
iterator operator++ ()
 
iterator operator-- ()
 
reference operator* ()
 
pointer operator-> ()
 

Private Attributes

value_type value_
 

Friends

bool operator== (const edge_idx_iterator lhs, const edge_idx_iterator rhs)
 
bool operator!= (const edge_idx_iterator lhs, const edge_idx_iterator rhs)
 

Detailed Description

An iterator that dereferences to an edge index.

Used inconjunction with vtr::Range to return ranges of edge indices

Constructor & Destructor Documentation

◆ edge_idx_iterator()

edge_idx_iterator::edge_idx_iterator ( value_type  init)
inline

Member Function Documentation

◆ operator*()

reference edge_idx_iterator::operator* ( )
inline

◆ operator++()

iterator edge_idx_iterator::operator++ ( )
inline

◆ operator--()

iterator edge_idx_iterator::operator-- ( )
inline

◆ operator->()

pointer edge_idx_iterator::operator-> ( )
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const edge_idx_iterator  lhs,
const edge_idx_iterator  rhs 
)
friend

◆ operator==

bool operator== ( const edge_idx_iterator  lhs,
const edge_idx_iterator  rhs 
)
friend

Field Documentation

◆ value_

value_type edge_idx_iterator::value_
private

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