Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
icutils Namespace Reference

Classes

struct  Node

Typedefs

using NodeList = std::vector<Node>
using AdjacencyList = std::vector<std::vector<Node*>>

Functions

bool containedInSameType (const QQmlType &a, const QQmlType &b)
template<typename ObjectContainer, typename InlineComponent>
void fillAdjacencyListForInlineComponents (ObjectContainer *objectContainer, AdjacencyList &adjacencyList, NodeList &nodes, const std::vector< InlineComponent > &allICs)
void topoVisit (Node *node, AdjacencyList &adjacencyList, bool &hasCycle, NodeList &nodesSorted)
NodeList topoSort (NodeList &nodes, AdjacencyList &adjacencyList, bool &hasCycle)

Typedef Documentation

◆ AdjacencyList

using icutils::AdjacencyList = std::vector<std::vector<Node*>>

Definition at line 60 of file inlinecomponentutils_p.h.

◆ NodeList

using icutils::NodeList = std::vector<Node>

Definition at line 59 of file inlinecomponentutils_p.h.

Function Documentation

◆ containedInSameType()

bool icutils::containedInSameType ( const QQmlType & a,
const QQmlType & b )
inline

Definition at line 62 of file inlinecomponentutils_p.h.

◆ fillAdjacencyListForInlineComponents()

template<typename ObjectContainer, typename InlineComponent>
void icutils::fillAdjacencyListForInlineComponents ( ObjectContainer * objectContainer,
AdjacencyList & adjacencyList,
NodeList & nodes,
const std::vector< InlineComponent > & allICs )

Definition at line 68 of file inlinecomponentutils_p.h.

◆ topoSort()

NodeList icutils::topoSort ( NodeList & nodes,
AdjacencyList & adjacencyList,
bool & hasCycle )
inline

Definition at line 137 of file inlinecomponentutils_p.h.

◆ topoVisit()

void icutils::topoVisit ( Node * node,
AdjacencyList & adjacencyList,
bool & hasCycle,
NodeList & nodesSorted )
inline

Definition at line 116 of file inlinecomponentutils_p.h.

References icutils::Node::hasPermanentMark(), icutils::Node::hasTemporaryMark(), icutils::Node::setPermanentMark(), and icutils::Node::setTemporaryMark().

Here is the call graph for this function: