diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-08-14 14:49:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-08-14 14:49:07 (GMT) |
commit | 8c6ca30831818a77a6947baad63ab99cb8cd8c31 (patch) | |
tree | fed426d0d7216311cbd009a1fcd2786176478b5e /src/xmlgen.cpp | |
parent | 142b4807d2ae7479691bd0800d28364b9857b82f (diff) | |
download | Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.zip Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.tar.gz Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.tar.bz2 |
Release-1.5.9-20090814
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index dd65f5f..3565756 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -654,6 +654,16 @@ static void generateXMLForMember(MemberDef *md,QTextStream &ti,QTextStream &t,De t << " new=\"yes\""; } + if (md->isOptional()) + { + t << " optional=\"yes\""; + } + + if (md->isRequired()) + { + t << " required=\"yes\""; + } + t << " virt=\""; switch (md->virtualness()) { @@ -698,6 +708,15 @@ static void generateXMLForMember(MemberDef *md,QTextStream &ti,QTextStream &t,De t << " settable=\""; if (md->isSettable()) t << "yes"; else t << "no"; t << "\""; + + if (md->isAssign() || md->isCopy() || md->isRetain()) + { + t << " accessor=\""; + if (md->isAssign()) t << "assign"; + else if (md->isCopy()) t << "copy"; + else if (md->isRetain()) t << "retain"; + t << "\""; + } } else if (md->memberType() == MemberDef::Event) { |