HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::WaveItemIndex Class Reference

#include </home/runner/work/hal/hal/plugins/simulator/waveform_viewer/include/waveform_viewer/wave_item.h>

Collaboration diagram for hal::WaveItemIndex:
Collaboration graph

Public Types

enum  IndexType {
  Invalid , Wire , Trig , Bool ,
  Group
}
 

Public Member Functions

 WaveItemIndex (u32 inx=0, IndexType tp=Invalid, u32 pid=0)
 
bool isValid () const
 
bool isGroup () const
 
bool isWire () const
 
u32 intType () const
 
u32 index () const
 
u32 parentId () const
 
bool operator== (const WaveItemIndex &other) const
 

Detailed Description

The key under which a rendered waveform is cached, i.e., its kind together with its ID.

Definition at line 45 of file wave_item.h.

Member Enumeration Documentation

◆ IndexType

Enumerator
Invalid 
Wire 
Trig 
Bool 
Group 

Definition at line 48 of file wave_item.h.

Constructor & Destructor Documentation

◆ WaveItemIndex()

hal::WaveItemIndex::WaveItemIndex ( u32  inx = 0,
IndexType  tp = Invalid,
u32  pid = 0 
)
inline

Definition at line 54 of file wave_item.h.

Member Function Documentation

◆ index()

u32 hal::WaveItemIndex::index ( ) const
inline

Definition at line 60 of file wave_item.h.

Referenced by hal::qHash().

◆ intType()

u32 hal::WaveItemIndex::intType ( ) const
inline

Definition at line 59 of file wave_item.h.

Referenced by hal::qHash().

◆ isGroup()

bool hal::WaveItemIndex::isGroup ( ) const
inline

Definition at line 57 of file wave_item.h.

References Group.

◆ isValid()

bool hal::WaveItemIndex::isValid ( ) const
inline

Definition at line 56 of file wave_item.h.

References Invalid.

Referenced by hal::qHash().

◆ isWire()

bool hal::WaveItemIndex::isWire ( ) const
inline

Definition at line 58 of file wave_item.h.

References Wire.

◆ operator==()

bool hal::WaveItemIndex::operator== ( const WaveItemIndex other) const

Definition at line 284 of file wave_item.cpp.

◆ parentId()

u32 hal::WaveItemIndex::parentId ( ) const
inline

Definition at line 61 of file wave_item.h.

Referenced by hal::qHash().


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