summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVladimír Vondruš <mosra@centrum.cz>2017-11-29 17:51:39 (GMT)
committerVladimír Vondruš <mosra@centrum.cz>2017-11-29 17:51:39 (GMT)
commit169cad806ea795e5c425fd397aa0de54cbc0a81e (patch)
treee6bf67c83dbd12ce308215dd8f0534b8c12b3c8d /src
parent17bceb8f4580535de52d19e8cadf0d088f972bef (diff)
downloadDoxygen-169cad806ea795e5c425fd397aa0de54cbc0a81e.zip
Doxygen-169cad806ea795e5c425fd397aa0de54cbc0a81e.tar.gz
Doxygen-169cad806ea795e5c425fd397aa0de54cbc0a81e.tar.bz2
Provide information about enum type "strongness" in the XML output.
There's a new boolean `strong` attribute on the `<memberdef>` element that defines whether the enum is a classic or a strong one. Tests were updated to verify both cases.
Diffstat (limited to 'src')
-rw-r--r--src/xmlgen.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 3b81408..5196eef 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -668,6 +668,13 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
t << "\"";
}
+ if (md->memberType() == MemberType_Enumeration)
+ {
+ t << " strong=\"";
+ if (md->isStrong()) t << "yes"; else t << "no";
+ t << "\"";
+ }
+
if (md->memberType() == MemberType_Variable)
{
//ArgumentList *al = md->argumentList();