CIRCT  20.0.0git
Public Member Functions | Private Attributes | List of all members
circt::igraph::InstanceGraphNode::UseIterator Struct Reference

Iterator for module uses. More...

#include <InstanceGraph.h>

Inheritance diagram for circt::igraph::InstanceGraphNode::UseIterator:
Inheritance graph
[legend]
Collaboration diagram for circt::igraph::InstanceGraphNode::UseIterator:
Collaboration graph
[legend]

Public Member Functions

 UseIterator ()
 
 UseIterator (InstanceGraphNode *node)
 
InstanceRecordoperator* () const
 
UseIteratoroperator++ ()
 
bool operator== (const UseIterator &other) const
 

Private Attributes

InstanceRecordcurrent
 

Detailed Description

Iterator for module uses.

Definition at line 130 of file InstanceGraph.h.

Constructor & Destructor Documentation

◆ UseIterator() [1/2]

circt::igraph::InstanceGraphNode::UseIterator::UseIterator ( )
inline

Definition at line 133 of file InstanceGraph.h.

◆ UseIterator() [2/2]

circt::igraph::InstanceGraphNode::UseIterator::UseIterator ( InstanceGraphNode node)
inline

Definition at line 134 of file InstanceGraph.h.

Member Function Documentation

◆ operator*()

InstanceRecord* circt::igraph::InstanceGraphNode::UseIterator::operator* ( ) const
inline

Definition at line 135 of file InstanceGraph.h.

References current.

◆ operator++()

UseIterator& circt::igraph::InstanceGraphNode::UseIterator::operator++ ( )
inline

Definition at line 138 of file InstanceGraph.h.

References assert(), current, and circt::igraph::InstanceRecord::nextUse.

◆ operator==()

bool circt::igraph::InstanceGraphNode::UseIterator::operator== ( const UseIterator other) const
inline

Definition at line 143 of file InstanceGraph.h.

References current.

Member Data Documentation

◆ current

InstanceRecord* circt::igraph::InstanceGraphNode::UseIterator::current
private

Definition at line 148 of file InstanceGraph.h.

Referenced by operator*(), operator++(), and operator==().


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