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

#include </home/runner/work/hal/hal/plugins/gui/include/gui/graph_widget/layouters/net_layout_point.h>

Collaboration diagram for hal::NetLayoutWire:
Collaboration graph

Public Types

enum  WirePointType { SourcePoint , DestinationPoint }
 

Public Member Functions

 NetLayoutWire (const NetLayoutPoint &p, const NetLayoutDirection &dir, bool isEnd)
 
QGraphicsLineItemgraphicsFactory () const
 
NetLayoutPoint endPoint (WirePointType pnt) const
 
bool isEndpoint () const
 
bool isHorizontal () const
 
bool operator== (const NetLayoutWire &other) const
 
QString toString () const
 

Detailed Description

A single wire segment, i.e., a grid point together with the direction the segment extends in.

Definition at line 106 of file net_layout_point.h.

Member Enumeration Documentation

◆ WirePointType

Enumerator
SourcePoint 
DestinationPoint 

Definition at line 109 of file net_layout_point.h.

Constructor & Destructor Documentation

◆ NetLayoutWire()

Member Function Documentation

◆ endPoint()

NetLayoutPoint hal::NetLayoutWire::endPoint ( WirePointType  pnt) const

Definition at line 223 of file net_layout_point.cpp.

References SourcePoint, and hal::NetLayoutDirection::step().

Referenced by hal::NetLayoutConnection::add(), and hal::qHash().

◆ graphicsFactory()

QGraphicsLineItem * hal::NetLayoutWire::graphicsFactory ( ) const

◆ isEndpoint()

bool hal::NetLayoutWire::isEndpoint ( ) const
inline

Definition at line 114 of file net_layout_point.h.

◆ isHorizontal()

bool hal::NetLayoutWire::isHorizontal ( ) const
inline

Definition at line 115 of file net_layout_point.h.

References hal::NetLayoutDirection::isHorizontal().

Referenced by hal::qHash().

◆ operator==()

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

Definition at line 199 of file net_layout_point.cpp.

◆ toString()

QString hal::NetLayoutWire::toString ( ) const

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