diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-27 07:21:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-27 07:21:21 (GMT) |
commit | 6f7443e86a2b6633fafeba5e8baa0941c22c757d (patch) | |
tree | 5a4d269570b40e3ab12d0733a44f04175fb79e7f /src/perlmodgen.cpp | |
parent | 30f8609975062896b0cd43b739310ab8d667ea82 (diff) | |
download | Doxygen-6f7443e86a2b6633fafeba5e8baa0941c22c757d.zip Doxygen-6f7443e86a2b6633fafeba5e8baa0941c22c757d.tar.gz Doxygen-6f7443e86a2b6633fafeba5e8baa0941c22c757d.tar.bz2 |
Refactoring: Improve encapsulation of MemberInfo class
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r-- | src/perlmodgen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index 3c44b69..04ddfb4 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -1760,7 +1760,7 @@ void PerlModGenerator::addListOfAllMembers(const ClassDef *cd) MemberInfo *mi; for (mii.toFirst();(mi=mii.current());++mii) { - const MemberDef *md=mi->memberDef; + const MemberDef *md=mi->memberDef(); const ClassDef *mcd=md->getClassDef(); const Definition *d=md->getGroupDef(); if (d==0) d = mcd; @@ -1768,10 +1768,10 @@ void PerlModGenerator::addListOfAllMembers(const ClassDef *cd) m_output.openHash() .addFieldQuotedString("name", md->name()) .addFieldQuotedString("virtualness", getVirtualnessName(md->virtualness())) - .addFieldQuotedString("protection", getProtectionName(mi->prot)); + .addFieldQuotedString("protection", getProtectionName(mi->prot())); - if (!mi->ambiguityResolutionScope.isEmpty()) - m_output.addFieldQuotedString("ambiguity_scope", mi->ambiguityResolutionScope); + if (!mi->ambiguityResolutionScope().isEmpty()) + m_output.addFieldQuotedString("ambiguity_scope", mi->ambiguityResolutionScope()); m_output.addFieldQuotedString("scope", mcd->name()) .closeHash(); |