![]() |
HAL
|
#include <net_layout_point.h>
Public Types | |
enum | DirectionType { Undefined = -1 , Left = 0 , Right = 1 , Up = 2 , Down = 3 , MaxDir = 4 } |
Public Member Functions | |
NetLayoutDirection (DirectionType dir=Undefined) | |
NetLayoutDirection (int idir) | |
bool | isHorizontal () const |
int | iHorizontal () const |
bool | isVertical () const |
bool | isNull () const |
QPoint | step (bool omitEndpoint=false) const |
DirectionType | direction () const |
u32 | toPattern () const |
NetLayoutDirection | operator++ (int) |
NetLayoutDirection | operator++ () |
int | index () const |
bool | isLeft () const |
bool | isUp () const |
bool | isMax () const |
bool | operator== (const NetLayoutDirection &other) const |
Definition at line 47 of file net_layout_point.h.
Enumerator | |
---|---|
Undefined | |
Left | |
Right | |
Up | |
Down | |
MaxDir |
Definition at line 50 of file net_layout_point.h.
|
inline |
Definition at line 51 of file net_layout_point.h.
hal::NetLayoutDirection::NetLayoutDirection | ( | int | idir | ) |
Definition at line 33 of file net_layout_point.cpp.
|
inline |
Definition at line 58 of file net_layout_point.h.
Referenced by hal::NetLayoutWire::NetLayoutWire().
|
inline |
Definition at line 54 of file net_layout_point.h.
References index().
|
inline |
Definition at line 62 of file net_layout_point.h.
Referenced by hal::NetLayoutJunctionNet::addEntry(), hal::NetLayoutJunctionRange::entryRange(), hal::NetLayoutJunctionEntries::id(), iHorizontal(), hal::NetLayoutJunctionNet::laneIndex(), and hal::NetLayoutWire::toString().
|
inline |
Definition at line 53 of file net_layout_point.h.
Referenced by hal::NetLayoutWire::isHorizontal().
|
inline |
Definition at line 63 of file net_layout_point.h.
References Left.
|
inline |
Definition at line 65 of file net_layout_point.h.
References MaxDir.
Referenced by hal::NetLayoutJunctionEntries::dumpToFile(), hal::NetLayoutJunction::NetLayoutJunction(), hal::NetLayoutJunctionNet::NetLayoutJunctionNet(), hal::NetLayoutJunctionEntries::toString(), and hal::NetLayoutJunctionNet::toString().
|
inline |
Definition at line 56 of file net_layout_point.h.
References Undefined.
Referenced by hal::NetLayoutWire::graphicsFactory().
|
inline |
Definition at line 64 of file net_layout_point.h.
References Up.
|
inline |
Definition at line 55 of file net_layout_point.h.
NetLayoutDirection hal::NetLayoutDirection::operator++ | ( | ) |
Definition at line 50 of file net_layout_point.cpp.
NetLayoutDirection hal::NetLayoutDirection::operator++ | ( | int | ) |
Definition at line 43 of file net_layout_point.cpp.
|
inline |
Definition at line 66 of file net_layout_point.h.
QPoint hal::NetLayoutDirection::step | ( | bool | omitEndpoint = false | ) | const |
Definition at line 56 of file net_layout_point.cpp.
References Down, Left, Right, and Up.
Referenced by hal::NetLayoutWire::endPoint(), and hal::NetLayoutPoint::nextPoint().
|
inline |
Definition at line 59 of file net_layout_point.h.
Referenced by hal::NetLayoutJunctionNet::addEntry().