summaryrefslogtreecommitdiffstats
path: root/src/section.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-10-29 18:37:27 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-10-29 21:54:21 (GMT)
commit4b745debaec0dbff60f7fe82ac32c59e3b21dfea (patch)
tree3c3d8693c0638bdc5a1fdf28f8d0c41bf3978bfb /src/section.h
parentd38df57916d5902abc9dbaf5891c14898ce675da (diff)
downloadDoxygen-4b745debaec0dbff60f7fe82ac32c59e3b21dfea.zip
Doxygen-4b745debaec0dbff60f7fe82ac32c59e3b21dfea.tar.gz
Doxygen-4b745debaec0dbff60f7fe82ac32c59e3b21dfea.tar.bz2
Replaced QList<SectionInfo> by std::vector<SectionInfo>
Diffstat (limited to 'src/section.h')
-rw-r--r--src/section.h27
1 files changed, 6 insertions, 21 deletions
diff --git a/src/section.h b/src/section.h
index b6268a9..9e6c695 100644
--- a/src/section.h
+++ b/src/section.h
@@ -26,33 +26,18 @@ class Definition;
/** Class representing a section in a page */
struct SectionInfo
{
- enum SectionType { Page = 0,
- Section = 1,
- Subsection = 2,
- Subsubsection = 3,
- Paragraph = 4,
+ enum SectionType { Page = 0,
+ Section = 1,
+ Subsection = 2,
+ Subsubsection = 3,
+ Paragraph = 4,
Anchor = 5,
Table = 6
};
SectionInfo(const char *f,const int lin,const char *l,const char *t,
SectionType st,int lev,const char *r=0) :
label(l), title(t), type(st), ref(r), definition(0),
- fileName(f), lineNr(lin), generated(FALSE), level(lev)
- {
- }
- SectionInfo(const SectionInfo &s)
- {
- label=s.label.copy();
- title=s.title.copy();
- type =s.type;
- ref=s.ref.copy();
- definition=s.definition;
- fileName=s.fileName.copy();
- lineNr=s.lineNr;
- generated=s.generated;
- level=s.level;
- }
- ~SectionInfo() {}
+ fileName(f), lineNr(lin), generated(FALSE), level(lev) {}
QCString label;
QCString title;
SectionType type;