str_repr = """
Class: %s
Bases: %s
-Inlcudes: %s
+Includes: %s
Brief Description:
%s
def getTextValue(node, recursive=False):
text = ""
for child in node.childNodes:
+ if child.nodeType == child.ELEMENT_NODE and child.nodeName == "ref":
+ text += getTextValue(child)
if child.nodeType == child.TEXT_NODE:
- text += child.nodeValue.strip()
+ # Add a space to ensure we have a space between qualifiers and parameter names
+ text += child.nodeValue.strip() + " "
- return text
+ return text.strip()
def doxyMLToText(node):
return text
if child.nodeType == child.ELEMENT_NODE:
param[child.nodeName] = getTextValue(child)
new_method.params.append(param)
+ print "Adding %s" % (new_method.name + new_method.argsstring)
new_class.methods.append(new_method)
if __name__ == "__main__":