MCPcopy Create free account
hub / github.com/KDAB/GammaRay / configuration

Method configuration

plugins/statemachineviewer/qsmstatemachinedebuginterface.cpp:99–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99QVector<State> QSMStateMachineDebugInterface::configuration() const
100{
101 const QSet<QAbstractState *> configuration = m_stateMachine->configuration();
102
103 QVector<State> result;
104 result.reserve(configuration.size());
105
106 for (QAbstractState *state : configuration) {
107 result.append(toState(state));
108 }
109
110 std::sort(result.begin(), result.end());
111 return result;
112}
113
114State QSMStateMachineDebugInterface::rootState() const
115{

Callers 4

setStateMachineMethod · 0.45
dataMethod · 0.45

Calls 6

reserveMethod · 0.80
appendMethod · 0.80
endMethod · 0.80
toStateFunction · 0.70
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected