diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-08 20:06:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-08 20:06:16 (GMT) |
commit | aca0b88941aefecfbef3186e63049cc7fba0a11c (patch) | |
tree | 0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/entry.cpp | |
parent | 509496da5e5b38aecbd91a5e20b3d695cbbef775 (diff) | |
download | Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.zip Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.gz Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.bz2 |
Release-1.3.2-20030708
Diffstat (limited to 'src/entry.cpp')
-rw-r--r-- | src/entry.cpp | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/entry.cpp b/src/entry.cpp index ef3c92f..276e433 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -17,6 +17,7 @@ #include "entry.h" #include "util.h" +#include "section.h" int Entry::num=0; @@ -32,8 +33,7 @@ Entry::Entry() extends->setAutoDelete(TRUE); groups = new QList<Grouping>; groups->setAutoDelete(TRUE); - anchors = new QList<QCString>; - anchors->setAutoDelete(TRUE); + anchors = new QList<SectionInfo>; argList = new ArgumentList; argList->setAutoDelete(TRUE); //printf("Entry::Entry() tArgList=0\n"); @@ -92,8 +92,7 @@ Entry::Entry(const Entry &e) extends->setAutoDelete(TRUE); groups = new QList<Grouping>; groups->setAutoDelete(TRUE); - anchors = new QList<QCString>; - anchors->setAutoDelete(TRUE); + anchors = new QList<SectionInfo>; argList = new ArgumentList; argList->setAutoDelete(TRUE); tArgLists = 0; @@ -123,11 +122,11 @@ Entry::Entry(const Entry &e) groups->append(new Grouping(*g)); } - QListIterator<QCString> sli2(*e.anchors); - QCString *s; + QListIterator<SectionInfo> sli2(*e.anchors); + SectionInfo *s; for (;(s=sli2.current());++sli2) { - anchors->append(new QCString(*s)); + anchors->append(new SectionInfo(*s)); } // deep copy argument list @@ -301,13 +300,6 @@ int Entry::getSize() size+=sizeof(g->pri); g=groups->next(); } - QCString *s=anchors->first(); - while (s) - { - size+=sizeof(QLNode); - size+=s->length()+1; - s=anchors->next(); - } Entry *e=sublist->first(); while (e) { |