From 0bd973c335dd56a198c05cc2fe2f37c99ac1d961 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 1 Nov 2012 16:26:09 +0100 Subject: Added -s and -A parameters --- tools/class2html.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/class2html.py') diff --git a/tools/class2html.py b/tools/class2html.py index 2b1f547..24a0366 100755 --- a/tools/class2html.py +++ b/tools/class2html.py @@ -122,7 +122,8 @@ class HtmlExporter(object): if p.qualifiers.has_key("Out"): direction.add("OUT") if p.qualifiers.has_key("In"): - direction.add("IN") + if p.qualifiers["In"].value: + direction.add("IN") if not direction: direction.add("IN") direction = "/".join(sorted(direction)) @@ -205,6 +206,9 @@ class HtmlExporter(object): for name in sorted(c.methods.keys()): if parent and parent.methods.has_key(name): inherited_methods.append(c.methods[name]) + if not self.compare_properties(c.methods[name], parent.methods[name]): + # the property was overridden + local_methods.append(c.methods[name]) else: local_methods.append(c.methods[name]) -- cgit