diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-11-18 14:52:40 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-11-18 14:52:40 (GMT) |
commit | c736b03f16a88b6654ff9c1ae680e46b86e50218 (patch) | |
tree | 066b0bffed86445dbe3d494eaf31515f5b743e8c /addon/xmlparse/mainhandler.h | |
parent | fba77445463c412e6b514174df590fdce58838cf (diff) | |
download | Doxygen-c736b03f16a88b6654ff9c1ae680e46b86e50218.zip Doxygen-c736b03f16a88b6654ff9c1ae680e46b86e50218.tar.gz Doxygen-c736b03f16a88b6654ff9c1ae680e46b86e50218.tar.bz2 |
Release-1.2.12
Diffstat (limited to 'addon/xmlparse/mainhandler.h')
-rw-r--r-- | addon/xmlparse/mainhandler.h | 24 |
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 |