diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-08-06 11:48:27 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-08-06 11:48:27 (GMT) |
commit | bedb86023002aa3985c914d330f54314d211bdc0 (patch) | |
tree | 340cca67808f566b0c458391835834e717e26a61 /src/entry.cpp | |
parent | 64c0fdd7432f5d9ddd815fbb459c651f6933a2ea (diff) | |
download | Doxygen-bedb86023002aa3985c914d330f54314d211bdc0.zip Doxygen-bedb86023002aa3985c914d330f54314d211bdc0.tar.gz Doxygen-bedb86023002aa3985c914d330f54314d211bdc0.tar.bz2 |
Release-1.4.4-20050806
Diffstat (limited to 'src/entry.cpp')
-rw-r--r-- | src/entry.cpp | 72 |
1 files changed, 4 insertions, 68 deletions
diff --git a/src/entry.cpp b/src/entry.cpp index f2ef0c7..5ce3239 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -42,6 +42,7 @@ Entry::Entry() tagInfo = 0; sli = 0; relatesDup = FALSE; + hidden = FALSE; groupDocType = GROUPDOC_NORMAL; reset(); } @@ -90,6 +91,7 @@ Entry::Entry(const Entry &e) callGraph = e.callGraph; objc = e.objc; tagInfo = e.tagInfo; + hidden = e.hidden; sublist = new QList<Entry>; sublist->setAutoDelete(TRUE); extends = new QList<BaseInfo>; @@ -231,6 +233,7 @@ void Entry::reset() explicitExternal = FALSE; memSpec = 0; objc = FALSE; + hidden = FALSE; subGrouping = TRUE; protection = Public; groupDocType = GROUPDOC_NORMAL; @@ -248,74 +251,7 @@ void Entry::reset() int Entry::getSize() { - int size=sizeof(Entry); - size+=type.length()+1; - size+=name.length()+1; - size+=args.length()+1; - size+=bitfields.length()+1; - size+=exception.length()+1; - size+=program.length()+1; - size+=includeFile.length()+1; - size+=includeName.length()+1; - size+=doc.length()+1; - size+=docFile.length()+1; - size+=relates.length()+1; - size+=brief.length()+1; - size+=briefFile.length()+1; - size+=inbodyDocs.length()+1; - size+=inbodyFile.length()+1; - size+=inside.length()+1; - size+=fileName.length()+1; - size+=initializer.length()+1; - BaseInfo *bi=extends->first(); - while (bi) - { - size+=sizeof(QLNode); - size+=bi->name.length()+1+sizeof(bi->prot)+sizeof(bi->virt); - bi=extends->next(); - } - Grouping *g=groups->first(); - while (g) - { - size+=sizeof(QLNode); - size+=g->groupname.length()+1; - size+=sizeof(g->pri); - g=groups->next(); - } - Entry *e=sublist->first(); - while (e) - { - size+=e->getSize(); - e=sublist->next(); - } - Argument *a=argList->first(); - while (a) - { - size+=sizeof(Argument); - size+=a->type.length()+1 - +a->name.length()+1 - +a->defval.length()+1; - a=argList->next(); - } - if (tArgLists) - { - ArgumentList *al=tArgLists->first(); - while (al) - { - size+=sizeof(ArgumentList); - a=al->first(); - while (a) - { - size+=sizeof(Argument); - size+=a->type.length()+1 - +a->name.length()+1 - +a->defval.length()+1; - a=al->next(); - } - al=tArgLists->next(); - } - } - return size; + return sizeof(Entry); } /*! the argument list is documented if one of its |