![]() |
Qt 6.x
The Qt SDK
|
#include <qgraph_p.h>
Collaboration diagram for Graph< Vertex, EdgeData >:Classes | |
| class | const_iterator |
Public Member Functions | |
| Graph () | |
| const_iterator | constBegin () const |
| const_iterator | constEnd () const |
| EdgeData * | edgeData (Vertex *first, Vertex *second) |
| void | createEdge (Vertex *first, Vertex *second, EdgeData *data) |
| void | removeEdge (Vertex *first, Vertex *second) |
| EdgeData * | takeEdge (Vertex *first, Vertex *second) |
| QList< Vertex * > | adjacentVertices (Vertex *vertex) const |
| QSet< Vertex * > | vertices () const |
| QList< QPair< Vertex *, Vertex * > > | connections () const |
Protected Member Functions | |
| void | createDirectedEdge (Vertex *from, Vertex *to, EdgeData *data) |
| void | removeDirectedEdge (Vertex *from, Vertex *to) |
Definition at line 34 of file qgraph_p.h.
Definition at line 37 of file qgraph_p.h.
Definition at line 165 of file qgraph_p.h.
References QHash< Key, T >::cend(), QHash< Key, T >::constFind(), and it.
Here is the call graph for this function:Definition at line 182 of file qgraph_p.h.
References QList< T >::append(), Graph< Vertex, EdgeData >::constBegin(), Graph< Vertex, EdgeData >::constEnd(), it, and qMakePair().
Here is the call graph for this function:
|
inline |
Definition at line 93 of file qgraph_p.h.
Referenced by Graph< Vertex, EdgeData >::connections(), and Graph< Vertex, EdgeData >::vertices().
Here is the caller graph for this function:
|
inline |
Definition at line 97 of file qgraph_p.h.
Referenced by Graph< Vertex, EdgeData >::connections(), and Graph< Vertex, EdgeData >::vertices().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 226 of file qgraph_p.h.
Referenced by Graph< Vertex, EdgeData >::createEdge().
Here is the caller graph for this function:
|
inline |
Definition at line 118 of file qgraph_p.h.
References arg, Graph< Vertex, EdgeData >::createDirectedEdge(), Graph< Vertex, EdgeData >::edgeData(), QString::fromLatin1(), qDebug, qPrintable, and qWarning.
Here is the call graph for this function:If there is an edge between first and second, it will return a structure containing the data associated with the edge, otherwise it will return 0.
Definition at line 108 of file qgraph_p.h.
References QHash< Key, T >::cend(), QSet< T >::cend(), QHash< Key, T >::constFind(), QSet< T >::constFind(), and it.
Referenced by Graph< Vertex, EdgeData >::createEdge(), Graph< Vertex, EdgeData >::removeEdge(), and Graph< Vertex, EdgeData >::takeEdge().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 231 of file qgraph_p.h.
References QHash< Key, T >::end(), QHash< Key, T >::erase(), QHash< Key, T >::find(), QSet< T >::isEmpty(), it, Q_ASSERT, and QSet< T >::remove().
Referenced by Graph< Vertex, EdgeData >::removeEdge(), and Graph< Vertex, EdgeData >::takeEdge().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 135 of file qgraph_p.h.
References arg, Graph< Vertex, EdgeData >::edgeData(), QString::fromLatin1(), qDebug, qPrintable, and Graph< Vertex, EdgeData >::removeDirectedEdge().
Here is the call graph for this function:Definition at line 149 of file qgraph_p.h.
References arg, Graph< Vertex, EdgeData >::edgeData(), QString::fromLatin1(), qDebug, qPrintable, and Graph< Vertex, EdgeData >::removeDirectedEdge().
Referenced by createSequence().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 174 of file qgraph_p.h.
References Graph< Vertex, EdgeData >::constBegin(), Graph< Vertex, EdgeData >::constEnd(), QSet< T >::insert(), and it.
Here is the call graph for this function: