summaryrefslogtreecommitdiffstats
path: root/addon/xmlparse/mainhandler.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-11-18 14:52:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-11-18 14:52:40 (GMT)
commitb89fdced7a88c9222faa0d646923bd09fb1765f8 (patch)
tree066b0bffed86445dbe3d494eaf31515f5b743e8c /addon/xmlparse/mainhandler.h
parentf11235dce05843401bccaae6dfcee8f65ac9da1d (diff)
downloadDoxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.zip
Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.tar.gz
Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.tar.bz2
Release-1.2.12
Diffstat (limited to 'addon/xmlparse/mainhandler.h')
-rw-r--r--addon/xmlparse/mainhandler.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/addon/xmlparse/mainhandler.h b/addon/xmlparse/mainhandler.h
index 0d69f25..c5f945f 100644
--- a/addon/xmlparse/mainhandler.h
+++ b/addon/xmlparse/mainhandler.h
@@ -28,7 +28,6 @@ class MainHandler : public IDoxygen, public BaseHandler<MainHandler>
MainHandler();
virtual ~MainHandler();
- // IDoxygen
QListIterator<ICompound> getCompoundIterator() const
{
return m_compounds;
@@ -37,10 +36,29 @@ class MainHandler : public IDoxygen, public BaseHandler<MainHandler>
{
return m_compoundDict[id];
}
+ virtual ICompound *getCompoundByName(const QString &name) const
+ {
+ return name.isEmpty() ? 0 : m_compoundNameDict[name];
+ }
+ virtual IMember *getMemberById(const QString &id) const
+ {
+ return m_memberDict[id];
+ }
+ virtual QList<IMember> *getMemberByName(const QString &name) const
+ {
+ return m_memberNameDict[name];
+ }
+ void insertMemberById(const QString &id,IMember *h);
+ void insertMemberByName(const QString &name,IMember *h);
+
+ void initialize();
private:
- QList<ICompound> m_compounds;
- QDict<ICompound> m_compoundDict;
+ QList<ICompound> m_compounds;
+ QDict<ICompound> m_compoundDict;
+ QDict<ICompound> m_compoundNameDict;
+ QDict<IMember> m_memberDict;
+ QDict<QList<IMember> > m_memberNameDict;
};
#endif