diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-05-17 19:26:02 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-05-17 19:26:02 (GMT) |
commit | 75fed7362598edf5a7210505cd38c92821863a39 (patch) | |
tree | cb90fc9b85934eb220249aae4ffd7e4979489b16 /src/packagedef.cpp | |
parent | f5f5db18c34651c19f63a972e70087ce2131e764 (diff) | |
download | Doxygen-75fed7362598edf5a7210505cd38c92821863a39.zip Doxygen-75fed7362598edf5a7210505cd38c92821863a39.tar.gz Doxygen-75fed7362598edf5a7210505cd38c92821863a39.tar.bz2 |
Release-20010517
Diffstat (limited to 'src/packagedef.cpp')
-rw-r--r-- | src/packagedef.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/packagedef.cpp b/src/packagedef.cpp index f9828f0..7c21c8e 100644 --- a/src/packagedef.cpp +++ b/src/packagedef.cpp @@ -30,22 +30,22 @@ PackageDef::PackageDef(const char *df,int dl,const char *na,const char *ref) : Definition(df,dl,na) { - classList = new ClassList; + classSDict = new ClassSDict(17); packageFileName = (QCString)"package_"+na; setReference(ref); } PackageDef::~PackageDef() { - delete classList; + delete classSDict; } -void PackageDef::addClass(const ClassDef *def) +void PackageDef::addClass(const ClassDef *cd) { if (Config_getBool("SORT_MEMBER_DOCS")) - classList->inSort(def); + classSDict->inSort(cd->name(),cd); else - classList->append(def); + classSDict->append(cd->name(),cd); } void PackageDef::writeDocumentation(OutputList &ol) @@ -61,7 +61,7 @@ void PackageDef::writeDocumentation(OutputList &ol) OutputList briefOutput(&ol); if (!briefDescription().isEmpty()) { - parseDoc(briefOutput,defFileName,defLine,name(),0,briefDescription()); + parseDoc(briefOutput,m_defFileName,m_defLine,name(),0,briefDescription()); ol+=briefOutput; ol.writeString(" \n"); ol.pushGeneratorState(); @@ -81,9 +81,9 @@ void PackageDef::writeDocumentation(OutputList &ol) ol.startMemberSections(); ClassDef::CompoundType ct; ct=ClassDef::Interface; - classList->writeDeclaration(ol,&ct,theTranslator->trInterfaces()); + classSDict->writeDeclaration(ol,&ct,theTranslator->trInterfaces()); ct=ClassDef::Class; - classList->writeDeclaration(ol,&ct,theTranslator->trClasses()); + classSDict->writeDeclaration(ol,&ct,theTranslator->trClasses()); ol.endMemberSections(); if (!Config_getString("GENERATE_TAGFILE").isEmpty()) @@ -114,7 +114,7 @@ void PackageDef::writeDocumentation(OutputList &ol) // write documentation if (!documentation().isEmpty()) { - parseDoc(ol,defFileName,defLine,name(),0,documentation()+"\n"); + parseDoc(ol,m_defFileName,m_defLine,name(),0,documentation()+"\n"); } } |