yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RTLIL::SigSpecIterator Struct Reference

#include <rtlil.h>

+ Inheritance diagram for RTLIL::SigSpecIterator:
+ Collaboration diagram for RTLIL::SigSpecIterator:

Public Member Functions

RTLIL::SigBitoperator* () const
 
bool operator!= (const RTLIL::SigSpecIterator &other) const
 
bool operator== (const RTLIL::SigSpecIterator &other) const
 
void operator++ ()
 

Data Fields

RTLIL::SigSpecsig_p
 
int index
 

Detailed Description

Definition at line 939 of file rtlil.h.

Member Function Documentation

bool RTLIL::SigSpecIterator::operator!= ( const RTLIL::SigSpecIterator other) const
inline

Definition at line 945 of file rtlil.h.

945 { return index != other.index; }
RTLIL::SigBit & RTLIL::SigSpecIterator::operator* ( ) const
inline

Definition at line 1104 of file rtlil.h.

1104  {
1105  return (*sig_p)[index];
1106 }
RTLIL::SigSpec * sig_p
Definition: rtlil.h:941
void RTLIL::SigSpecIterator::operator++ ( )
inline

Definition at line 947 of file rtlil.h.

947 { index++; }
bool RTLIL::SigSpecIterator::operator== ( const RTLIL::SigSpecIterator other) const
inline

Definition at line 946 of file rtlil.h.

946 { return index == other.index; }

Field Documentation

int RTLIL::SigSpecIterator::index

Definition at line 942 of file rtlil.h.

RTLIL::SigSpec* RTLIL::SigSpecIterator::sig_p

Definition at line 941 of file rtlil.h.


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