Outputs a Dia file
Operations Summary: | |
__init__(self, filename) [Source] | |
indent(self) [Source] | |
incr(self) [Source] | |
decr(self) [Source] | |
write(self, text) [Source] | |
scope(self) [Source] | |
startTag(self, tagname, **keys) Starts a tag and indents, attributes using keyword arguments [Source] | |
startTagDict(self, tagname, attrs) Starts a tag and indents, attributes using dictionary argument [Source] | |
endTag(self, tagname) Un-indents and closes tag [Source] | |
soloTag(self, tagname, **keys) Writes a solo tag with attributes from keyword arguments [Source] | |
attribute(self, name, type, value, allow_solo = 1) Writes an attribute with given name, type and value [Source] | |
output(self, declarations) Output declarations to file [Source] | |
doDiagramData(self) Write the stock diagramdata stuff [Source] | |
doInheritance(self, inherit) Create a generalization object for one inheritance [Source] | |
createObjectID(self, decl) Creates a new object identifier, and remembers it with the given declaration [Source] | |
getObjectID(self, decl) Returns the stored identifier for the given object [Source] | |
formatType(self, type) Returns a string representation for the given type [Source] | |
visitBaseType(self, type) [Source] | |
visitUnknown(self, type) [Source] | |
visitDeclared(self, type) [Source] | |
visitModifier(self, type) [Source] | |
visitParametrized(self, type) [Source] | |
visitFunctionType(self, type) [Source] | |
visitDeclaration(self, decl) Default is to not do anything with it [Source] | |
visitModule(self, decl) Just traverse child declarations [Source] | |
visitClass(self, decl) Creates a Class object for one class, with attributes and operations [Source] |