diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-08-14 14:49:07 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-08-14 14:49:07 (GMT) |
commit | 9e6be9a8ae24b788cf2463a703bda48cbd77c773 (patch) | |
tree | fed426d0d7216311cbd009a1fcd2786176478b5e /src/xmlgen.cpp | |
parent | 6e28050ef5483e624122b0bacb998c40664f78ee (diff) | |
download | Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.zip Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.tar.gz Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.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) { |