Commit 6f9fc044 authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Release-1.2.16-20020526

parent 2999d273
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
DOXYGEN Version 1.2.16
DOXYGEN Version 1.2.16-20020526


Please read the installation section of the manual for instructions.
Please read the installation section of the manual for instructions.


--------
--------
Dimitri van Heesch (20 May 2002)
Dimitri van Heesch (26 May 2002)
+2 −2
Original line number Original line Diff line number Diff line
DOXYGEN Version 1.2.16
DOXYGEN Version 1.2.16_20020526


Please read INSTALL for compilation instructions.
Please read INSTALL for compilation instructions.


@@ -17,4 +17,4 @@ to subscribe to the lists or to visit the archives.


Enjoy,
Enjoy,


Dimitri van Heesch (dimitri@stack.nl) (20 May 2002)
Dimitri van Heesch (dimitri@stack.nl) (26 May 2002)
+1 −1
Original line number Original line Diff line number Diff line
1.2.16
1.2.16-20020526
+13 −5
Original line number Original line Diff line number Diff line
@@ -100,6 +100,7 @@ MainHandler::MainHandler() : m_compoundDict(2999), m_compoundNameDict(2999),
  addStartHandler("name",this,&MainHandler::startName);
  addStartHandler("name",this,&MainHandler::startName);
  addEndHandler("name",this,&MainHandler::endName);
  addEndHandler("name",this,&MainHandler::endName);
  m_curCompound = 0;
  m_curCompound = 0;
  m_insideMember = FALSE;
}
}


MainHandler::~MainHandler()
MainHandler::~MainHandler()
@@ -110,7 +111,7 @@ MainHandler::~MainHandler()
void MainHandler::startCompound(const QXmlAttributes& attrib)
void MainHandler::startCompound(const QXmlAttributes& attrib)
{
{
  m_curCompound = new CompoundEntry(257);
  m_curCompound = new CompoundEntry(257);
  m_curCompound->id = attrib.value("id");
  m_curCompound->id = attrib.value("refid");
  m_compounds.append(m_curCompound);
  m_compounds.append(m_curCompound);
  m_compoundDict.insert(m_curCompound->id,m_curCompound);
  m_compoundDict.insert(m_curCompound->id,m_curCompound);
}
}
@@ -121,22 +122,28 @@ void MainHandler::startName(const QXmlAttributes& /*attrib*/)
}
}


void MainHandler::endName()
void MainHandler::endName()
{
  if (m_insideMember)
  {
    m_curMember->name = m_curString;
  }
  else
  {
  {
    m_curCompound->name = m_curString;
    m_curCompound->name = m_curString;
  }
  }
}


void MainHandler::startMember(const QXmlAttributes& attrib)
void MainHandler::startMember(const QXmlAttributes& attrib)
{
{
  m_curString = "";
  m_insideMember = TRUE;
  m_curMember = new MemberEntry;
  m_curMember = new MemberEntry;
  m_curMember->id = attrib.value("id");
  m_curMember->id = attrib.value("refid");
  m_curMember->compound = m_curCompound;
  m_curMember->compound = m_curCompound;
  m_memberDict.insert(m_curMember->id,m_curMember);
  m_memberDict.insert(m_curMember->id,m_curMember);
}
}


void MainHandler::endMember()
void MainHandler::endMember()
{
{
  m_curMember->name = m_curString;
  m_curCompound->memberDict.insert(m_curString,m_curMember);
  m_curCompound->memberDict.insert(m_curString,m_curMember);
  QList<CompoundEntry> *cel=0;
  QList<CompoundEntry> *cel=0;
  if ((cel=m_memberNameDict.find(m_curString))==0)
  if ((cel=m_memberNameDict.find(m_curString))==0)
@@ -145,6 +152,7 @@ void MainHandler::endMember()
    m_memberNameDict.insert(m_curString,cel);
    m_memberNameDict.insert(m_curString,cel);
  }
  }
  cel->append(m_curCompound);
  cel->append(m_curCompound);
  m_insideMember = FALSE;
}
}


void MainHandler::setDebugLevel(int level)
void MainHandler::setDebugLevel(int level)
+1 −0
Original line number Original line Diff line number Diff line
@@ -76,6 +76,7 @@ class MainHandler : public IDoxygen, public BaseHandler<MainHandler>
    QDict<QList<CompoundEntry> > m_memberNameDict;
    QDict<QList<CompoundEntry> > m_memberNameDict;
    QString                      m_xmlDirName;
    QString                      m_xmlDirName;
    QDict<CompoundHandler>       m_compoundsLoaded;
    QDict<CompoundHandler>       m_compoundsLoaded;
    bool                         m_insideMember;
};
};


#endif
#endif
Loading