this class manages sequence diagram definition
Declaration :
Directly inherited by : UmlSequenceDiagramDefinition
Artifact : UmlBaseSequenceDiagramDefinition
Operation instances |
return the instances present in the diagram
Declaration :
Operation messages |
return the messages present in the diagram,
ordonned following the sending time
Declaration :
Operation fragments |
return the fragments present in the diagram
Declaration :
Relation _instances (<directional composition>) |
Declaration :
Stereotype: vector
Relation _messages (<directional composition>) |
Declaration :
Stereotype: vector
Relation _fragments (<directional composition>) |
Declaration :
Stereotype: vector
Extra Artifact Definition qsort |
Definition :
static void qsort(UmlSequenceMessage ** v, int low, int high)
{
if (low < high) {
int lo = low;
int hi = high + 1;
int e = v[low]->sentAt();
for (;;) {
while ((++lo < hi) && (v[lo]->sentAt() <= e))
;
while (v[--hi]->sentAt() > e);
;
if (lo < hi) {
UmlSequenceMessage * x = v[lo];
v[lo] = v[hi];
v[hi] = x;
}
else
break;
}
UmlSequenceMessage * x = v[low];
v[low] = v[hi];
v[hi] = x;
qsort(v, low, hi - 1);
qsort(v, hi + 1, high);
}
}
Operation read_ |
internal, don't call it
Declaration :
Operation ~UmlBaseSequenceDiagramDefinition |
to avoid compiler warning, don't call it
Declaration :
Extra Artifact Definition friend |
Definition :
friend class UmlBaseSequenceDiagram;
All public operations : fragments , instances , messages , read_