#include "UmlArtifact.h" #include "UmlCom.h" #include "UmlClass.h" #include "UmlDeploymentDiagram.h" void UmlArtifact::html(QCString, unsigned int, unsigned int) { UmlCom::message(name()); UmlItem::html("Artifact", (UmlDiagram *) associatedDiagram()); const char * sep = " associated with : "; if (stereotype() == "source") { fw.write("

Artifact source"); const QVector l = associatedClasses(); for (unsigned i = 0; i != l.size(); i += 1) { fw.write(sep); l[i]->write(); sep = ", "; } } else { fw.write("

"); writeq(stereotype()); fw.write(""); const QVector l = associatedArtifacts(); for (unsigned i = 0; i != l.size(); i += 1) { fw.write(sep); l[i]->write(); sep = ", "; } } fw.write("

\n"); unload(FALSE, FALSE); } QCString UmlArtifact::sKind() { return "artifact"; }