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

#include <rtlil.h>

+ Inheritance diagram for RTLIL::SigSpecConstIterator:
+ Collaboration diagram for RTLIL::SigSpecConstIterator:

Public Member Functions

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

Data Fields

const RTLIL::SigSpecsig_p
 
int index
 

Detailed Description

Definition at line 950 of file rtlil.h.

Member Function Documentation

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

Definition at line 956 of file rtlil.h.

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

Definition at line 1108 of file rtlil.h.

1108  {
1109  return (*sig_p)[index];
1110 }
const RTLIL::SigSpec * sig_p
Definition: rtlil.h:952
void RTLIL::SigSpecConstIterator::operator++ ( )
inline

Definition at line 958 of file rtlil.h.

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

Definition at line 957 of file rtlil.h.

957 { return index == other.index; }

Field Documentation

int RTLIL::SigSpecConstIterator::index

Definition at line 953 of file rtlil.h.

const RTLIL::SigSpec* RTLIL::SigSpecConstIterator::sig_p

Definition at line 952 of file rtlil.h.


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