summaryrefslogtreecommitdiffstats
path: root/src/outputlist.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-01-21 19:05:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-01-21 19:05:35 (GMT)
commit41e1827f53fa1b9ef018b378f8aca4e4fec6750a (patch)
treec28a8c29b3e53508bef2ee53a06b7c4ac6925fe9 /src/outputlist.h
parent583cc3299ac171f473e4221b0b535ea616e4db03 (diff)
downloadDoxygen-41e1827f53fa1b9ef018b378f8aca4e4fec6750a.zip
Doxygen-41e1827f53fa1b9ef018b378f8aca4e4fec6750a.tar.gz
Doxygen-41e1827f53fa1b9ef018b378f8aca4e4fec6750a.tar.bz2
Release-1.2.4-20010121
Diffstat (limited to 'src/outputlist.h')
-rw-r--r--src/outputlist.h40
1 files changed, 27 insertions, 13 deletions
diff --git a/src/outputlist.h b/src/outputlist.h
index 2d57034..5b1899c 100644
--- a/src/outputlist.h
+++ b/src/outputlist.h
@@ -37,11 +37,11 @@ class DotClassGraph;
class DotInclDepGraph;
class DotGfxHierarchyTable;
-class OutputList
+class OutputList : public OutputDocInterface
{
public:
OutputList(bool);
- ~OutputList();
+ virtual ~OutputList();
OutputList(const OutputList *ol);
OutputList &operator=(const OutputList &ol);
OutputList &operator+=(const OutputList &ol);
@@ -56,7 +56,20 @@ class OutputList
bool isEnabled(OutputGenerator::OutputType o);
void pushGeneratorState();
void popGeneratorState();
-
+
+ //////////////////////////////////////////////////
+ // OutputDocInterface implementation
+ //////////////////////////////////////////////////
+
+ OutputDocInterface *clone()
+ {
+ return new OutputList(this);
+ }
+ void append(const OutputDocInterface *g)
+ {
+ operator+=(*(OutputList *)g);
+ }
+
//void writeIndex()
//{ forall(&OutputGenerator::writeIndex); }
void startIndexSection(IndexSections is)
@@ -190,8 +203,8 @@ class OutputList
{ forall(&OutputGenerator::startCodeLine); }
void endCodeLine()
{ forall(&OutputGenerator::endCodeLine); }
- void writeBoldString(const char *text)
- { forall(&OutputGenerator::writeBoldString,text); }
+ //void writeBoldString(const char *text)
+ //{ forall(&OutputGenerator::writeBoldString,text); }
void startEmphasis()
{ forall(&OutputGenerator::startEmphasis); }
void endEmphasis()
@@ -303,12 +316,13 @@ class OutputList
{ forall(&OutputGenerator::startSection,lab,title,sub); }
void endSection(const char *lab,bool sub)
{ forall(&OutputGenerator::endSection,lab,sub); }
- void writeSectionRef(const char *page,const char *lab, const char *title)
- { forall(&OutputGenerator::writeSectionRef,page,lab,title); }
+ void writeSectionRef(const char *ref,const char *file,
+ const char *anchor, const char *title)
+ { forall(&OutputGenerator::writeSectionRef,ref,file,anchor,title); }
void writeSectionRefItem(const char *page,const char *lab, const char *title)
{ forall(&OutputGenerator::writeSectionRefItem,page,lab,title); }
- void writeSectionRefAnchor(const char *page,const char *lab, const char *title)
- { forall(&OutputGenerator::writeSectionRefAnchor,page,lab,title); }
+ //void writeSectionRefAnchor(const char *page,const char *lab, const char *title)
+ //{ forall(&OutputGenerator::writeSectionRefAnchor,page,lab,title); }
void addIndexItem(const char *s1,const char *s2)
{ forall(&OutputGenerator::addIndexItem,s1,s2); }
void writeSynopsis()
@@ -317,10 +331,10 @@ class OutputList
{ forall(&OutputGenerator::startClassDiagram); }
void endClassDiagram(ClassDiagram &d,const char *f,const char *n)
{ forall(&OutputGenerator::endClassDiagram,d,f,n); }
- void startColorFont(uchar r,uchar g,uchar b)
- { forall(&OutputGenerator::startColorFont,r,g,b); }
- void endColorFont()
- { forall(&OutputGenerator::endColorFont); }
+ //void startColorFont(uchar r,uchar g,uchar b)
+ //{ forall(&OutputGenerator::startColorFont,r,g,b); }
+ //void endColorFont()
+ //{ forall(&OutputGenerator::endColorFont); }
void startPageRef()
{ forall(&OutputGenerator::startPageRef); }
void endPageRef(const char *c,const char *a)