HAL
hal::NetLayoutWire Class Reference

#include <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

Definition at line 94 of file net_layout_point.h.

Member Enumeration Documentation

◆ WirePointType

Enumerator
SourcePoint 
DestinationPoint 

Definition at line 97 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 102 of file net_layout_point.h.

◆ isHorizontal()

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

Definition at line 103 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: