diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-09-28 18:26:46 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-09-28 18:26:46 (GMT) |
commit | f08cd6363f5da22b2452d4f937fef68220fcb081 (patch) | |
tree | 01f67df4c4005875230919c5f826290b6a17a2e4 /addon/doxmlparser/src/mainhandler.cpp | |
parent | 8d674d5bacfc207f4b630262c01ba4bad38b0c82 (diff) | |
download | Doxygen-f08cd6363f5da22b2452d4f937fef68220fcb081.zip Doxygen-f08cd6363f5da22b2452d4f937fef68220fcb081.tar.gz Doxygen-f08cd6363f5da22b2452d4f937fef68220fcb081.tar.bz2 |
Release-1.3.8-20040928
Diffstat (limited to 'addon/doxmlparser/src/mainhandler.cpp')
-rw-r--r-- | addon/doxmlparser/src/mainhandler.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/addon/doxmlparser/src/mainhandler.cpp b/addon/doxmlparser/src/mainhandler.cpp index c610f04..d2422ed 100644 --- a/addon/doxmlparser/src/mainhandler.cpp +++ b/addon/doxmlparser/src/mainhandler.cpp @@ -133,6 +133,7 @@ void MainHandler::endName() else { m_curCompound->name = m_curString; + m_compoundNameDict.insert(m_curString,m_curCompound); } } @@ -230,16 +231,16 @@ ICompound *MainHandler::compoundById(const char *id) const // unchanged. MainHandler *that = (MainHandler *)this; ch->initialize(that); - printf("loading compound %s in memory\n",id); + //printf("loading compound %s in memory\n",id); that->m_compoundsLoaded.insert(id,ch); return ch->toICompound(); } void MainHandler::unloadCompound(CompoundHandler *ch) { - printf("unloading compound %s from memory\n",ch->id()->latin1()); + //printf("unloading compound %s from memory\n",ch->id()->latin1()); bool result = m_compoundsLoaded.remove(ch->id()->latin1()); - if (!result) printf("Failed to unload!\n"); + if (!result) debug(1,"Failed to unload component!\n"); } ICompound *MainHandler::compoundByName(const char *name) const @@ -257,7 +258,7 @@ ICompound *MainHandler::memberById(const char *id) const if (ids.isEmpty()) return 0; MemberEntry *me = m_memberDict[id]; if (me==0) return 0; // id not found - return compoundById(me->id); + return compoundById(me->compound->id); } ICompoundIterator *MainHandler::memberByName(const char *name) const |