#include "UmlActivityControlNode.h" #include "FileOut.h" void UmlActivityControlNode::write(FileOut & out) { out.indent(); out << ((parent()->kind() == anActivity) ? "\n"; out.indent(+1); write_description_properties(out); const QVector ch = children(); unsigned n = ch.size(); for (unsigned i = 0; i != n; i += 1) ch[i]->write(out); write_incoming_flows(out); out.indent(-1); out.indent(); out << ((parent()->kind() == anActivity) ? "\n" : "\n"); unload(); }