#include "UmlNode.h"
#include "FileOut.h"
bool UmlNode::write_if_needed(FileOut & out) {
parent()->write(out);
out.indent();
out << "\n";
out.indent(+1);
write_stereotype(out);
write_description_properties(out);
out.indent(-1);
out.indent();
out << "\n";
const QVector ch = children();
unsigned n = ch.size();
for (unsigned i = 0; i != n; i += 1)
ch[i]->write_if_needed(out);
unload();
return TRUE;
}
void UmlNode::write(FileOut & out) {
}