summaryrefslogtreecommitdiffstats
path: root/addon/doxmlparser/src/compoundhandler.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-10-20 18:23:06 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-10-20 18:23:06 (GMT)
commit7c34dd2b1594925d0a012e9ba290bf9c80574db5 (patch)
tree63a7ba72ad4f8318f818aebfef29beee5811c241 /addon/doxmlparser/src/compoundhandler.h
parent2c6d31c8bf31028ba2f822c31f4812c2cecab306 (diff)
downloadDoxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.zip
Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.gz
Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.bz2
Release-1.2.18-20021020
Diffstat (limited to 'addon/doxmlparser/src/compoundhandler.h')
-rw-r--r--addon/doxmlparser/src/compoundhandler.h66
1 files changed, 39 insertions, 27 deletions
diff --git a/addon/doxmlparser/src/compoundhandler.h b/addon/doxmlparser/src/compoundhandler.h
index ae567b6..b099be4 100644
--- a/addon/doxmlparser/src/compoundhandler.h
+++ b/addon/doxmlparser/src/compoundhandler.h
@@ -32,7 +32,8 @@ class MemberHandler;
class CompoundHandler;
class SectionHandler;
class ParamHandler;
-
+class TemplateParamListHandler;
+class TitleHandler;
class RelatedCompound : public IRelatedCompound
{
@@ -97,6 +98,8 @@ class CompoundHandler : public IClass,
virtual void startInnerFile(const QXmlAttributes& attrib);
virtual void startInnerGroup(const QXmlAttributes& attrib);
virtual void startParam(const QXmlAttributes& attrib);
+ virtual void startTitle(const QXmlAttributes& attrib);
+ virtual void startTemplateParamList(const QXmlAttributes& attrib);
virtual void addref() { m_refCount++; }
CompoundHandler(const QString &dirName);
@@ -126,39 +129,48 @@ class CompoundHandler : public IClass,
IRelatedCompoundIterator *derivedCompounds() const;
ICompoundIterator *nestedCompounds() const;
ICompoundIterator *nestedGroup() const;
+ const IString *locationFile() const { return &m_defFile; }
+ int locationLine() const { return m_defLine; }
+ int locationBodyStartLine() const { return m_defBodyStart; }
+ int locationBodyEndLine() const { return m_defBodyEnd; }
// IFile implementation
IGraph *includeDependencyGraph() const;
IGraph *includedByDependencyGraph() const;
IDocProgramListing *source() const;
+
+ // IPage implementation
+ const IDocTitle *title() const;
private:
- QList<RelatedCompound> m_superClasses;
- QList<RelatedCompound> m_subClasses;
- QList<SectionHandler> m_sections;
- QList<ParamHandler> m_templateParams;
- DocHandler *m_brief;
- DocHandler *m_detailed;
- ProgramListingHandler *m_programListing;
- StringImpl m_id;
- StringImpl m_kindString;
- CompoundKind m_kind;
- StringImpl m_name;
- QString m_defFile;
- int m_defLine;
- QString m_xmlDir;
- int m_refCount;
- QDict<MemberHandler> m_memberDict;
- QDict<QList<MemberHandler> > m_memberNameDict;
- MainHandler *m_mainHandler;
- GraphHandler *m_inheritanceGraph;
- GraphHandler *m_collaborationGraph;
- GraphHandler *m_includeDependencyGraph;
- GraphHandler *m_includedByDependencyGraph;
- QList<QString> m_innerCompounds;
- ProgramListingHandler *m_source;
- bool m_hasTemplateParams;
-
+ QList<RelatedCompound> m_superClasses;
+ QList<RelatedCompound> m_subClasses;
+ QList<SectionHandler> m_sections;
+ QList<ParamHandler> m_params;
+ DocHandler* m_brief;
+ DocHandler* m_detailed;
+ ProgramListingHandler* m_programListing;
+ StringImpl m_id;
+ StringImpl m_kindString;
+ CompoundKind m_kind;
+ StringImpl m_name;
+ StringImpl m_defFile;
+ int m_defLine;
+ int m_defBodyStart;
+ int m_defBodyEnd;
+ QString m_xmlDir;
+ int m_refCount;
+ QDict<MemberHandler> m_memberDict;
+ QDict<QList<MemberHandler> > m_memberNameDict;
+ MainHandler* m_mainHandler;
+ GraphHandler* m_inheritanceGraph;
+ GraphHandler* m_collaborationGraph;
+ GraphHandler* m_includeDependencyGraph;
+ GraphHandler* m_includedByDependencyGraph;
+ QList<QString> m_innerCompounds;
+ ProgramListingHandler* m_source;
+ TemplateParamListHandler* m_templateParamList;
+ TitleHandler* m_titleHandler;
};
void compoundhandler_init();