![]() |
HAL
|
#include <net_layout_point.h>
Public Member Functions | |
NetLayoutConnection () | |
NetLayoutConnection (const NetLayoutPoint &pa, const NetLayoutPoint &pb) | |
QList< NetLayoutPoint > | wayPoints () const |
NetLayoutPoint | closestPoint (const NetLayoutPoint &pnt) const |
void | add (const NetLayoutConnection &other, bool atomicNet) |
![]() | |
QList () | |
QList (const QList< T > &other) | |
QList (QList< T > &&other) | |
QList (std::initializer_list< T > args) | |
QList (InputIterator first, InputIterator last) | |
~QList () | |
QList< T > & | operator= (const QList< T > &other) |
QList< T > & | operator= (QList< T > &&other) |
void | swap (QList< T > &other) |
void | swap (int i, int j) |
bool | operator== (const QList< T > &other) const const |
bool | operator!= (const QList< T > &other) const const |
int | size () const const |
bool | isEmpty () const const |
void | clear () |
const T & | at (int i) const const |
const T & | operator[] (int i) const const |
T & | operator[] (int i) |
void | reserve (int alloc) |
void | append (const T &value) |
void | append (const QList< T > &value) |
void | prepend (const T &value) |
void | insert (int i, const T &value) |
QList::iterator | insert (QList::iterator before, const T &value) |
void | replace (int i, const T &value) |
void | removeAt (int i) |
int | removeAll (const T &value) |
bool | removeOne (const T &value) |
T | takeAt (int i) |
T | takeFirst () |
T | takeLast () |
void | move (int from, int to) |
void | swapItemsAt (int i, int j) |
int | indexOf (const T &value, int from) const const |
int | lastIndexOf (const T &value, int from) const const |
bool | contains (const T &value) const const |
int | count (const T &value) const const |
int | count () const const |
QList::iterator | begin () |
QList::const_iterator | begin () const const |
QList::const_iterator | cbegin () const const |
QList::const_iterator | constBegin () const const |
QList::iterator | end () |
QList::const_iterator | end () const const |
QList::const_iterator | cend () const const |
QList::const_iterator | constEnd () const const |
QList::reverse_iterator | rbegin () |
QList::const_reverse_iterator | rbegin () const const |
QList::reverse_iterator | rend () |
QList::const_reverse_iterator | rend () const const |
QList::const_reverse_iterator | crbegin () const const |
QList::const_reverse_iterator | crend () const const |
QList::iterator | erase (QList::iterator pos) |
QList::iterator | erase (QList::iterator begin, QList::iterator end) |
int | length () const const |
T & | first () |
const T & | first () const const |
const T & | constFirst () const const |
T & | last () |
const T & | last () const const |
const T & | constLast () const const |
void | removeFirst () |
void | removeLast () |
bool | startsWith (const T &value) const const |
bool | endsWith (const T &value) const const |
QList< T > | mid (int pos, int length) const const |
T | value (int i) const const |
T | value (int i, const T &defaultValue) const const |
void | push_back (const T &value) |
void | push_front (const T &value) |
T & | front () |
const T & | front () const const |
T & | back () |
const T & | back () const const |
void | pop_front () |
void | pop_back () |
bool | empty () const const |
QList< T > & | operator+= (const QList< T > &other) |
QList< T > & | operator+= (const T &value) |
QList< T > | operator+ (const QList< T > &other) const const |
QList< T > & | operator<< (const T &value) |
QList< T > & | operator<< (const QList< T > &other) |
QDataStream & | operator<< (QDataStream &out, const QList< T > &list) |
QVector< T > | toVector () const const |
QSet< T > | toSet () const const |
std::list< T > | toStdList () const const |
bool | operator< (const QList< T > &lhs, const QList< T > &rhs) |
bool | operator<= (const QList< T > &lhs, const QList< T > &rhs) |
bool | operator> (const QList< T > &lhs, const QList< T > &rhs) |
bool | operator>= (const QList< T > &lhs, const QList< T > &rhs) |
uint | qHash (const QList< T > &key, uint seed) |
QDataStream & | operator>> (QDataStream &in, QList< T > &list) |
Additional Inherited Members | |
![]() | |
QList< T > | fromVector (const QVector< T > &vector) |
QList< T > | fromSet (const QSet< T > &set) |
QList< T > | fromStdList (const std::list< T > &list) |
![]() | |
typedef | reverse_iterator |
typedef | const_reverse_iterator |
typedef | Iterator |
typedef | ConstIterator |
typedef | size_type |
typedef | value_type |
typedef | pointer |
typedef | const_pointer |
typedef | reference |
typedef | const_reference |
typedef | difference_type |
Definition at line 115 of file net_layout_point.h.
|
inline |
Definition at line 118 of file net_layout_point.h.
hal::NetLayoutConnection::NetLayoutConnection | ( | const NetLayoutPoint & | pa, |
const NetLayoutPoint & | pb | ||
) |
Definition at line 230 of file net_layout_point.cpp.
References hal::NetLayoutDirection::Down, hal::NetLayoutPoint::isEndpoint(), hal::NetLayoutDirection::Left, hal::NetLayoutDirection::Right, hal::NetLayoutDirection::Up, QPoint::x(), and QPoint::y().
void hal::NetLayoutConnection::add | ( | const NetLayoutConnection & | other, |
bool | atomicNet | ||
) |
Definition at line 301 of file net_layout_point.cpp.
References QList< NetLayoutWire >::append(), hal::NetLayoutWire::DestinationPoint, hal::NetLayoutDirection::Down, hal::NetLayoutWire::endPoint(), test::n, QList< NetLayoutWire >::size(), and hal::NetLayoutWire::SourcePoint.
Referenced by hal::NetLayoutConnectionFactory::NetLayoutConnectionFactory().
NetLayoutPoint hal::NetLayoutConnection::closestPoint | ( | const NetLayoutPoint & | pnt | ) | const |
Definition at line 277 of file net_layout_point.cpp.
References hal::NetLayoutPoint::distanceTo(), hal::NetLayoutPoint::isUndefined(), QPoint::x(), and QPoint::y().
Referenced by hal::NetLayoutConnectionFactory::NetLayoutConnectionFactory().
|
inline |
Definition at line 120 of file net_layout_point.h.