diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-08 20:06:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-08 20:06:16 (GMT) |
commit | aca0b88941aefecfbef3186e63049cc7fba0a11c (patch) | |
tree | 0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/section.h | |
parent | 509496da5e5b38aecbd91a5e20b3d695cbbef775 (diff) | |
download | Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.zip Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.gz Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.bz2 |
Release-1.3.2-20030708
Diffstat (limited to 'src/section.h')
-rw-r--r-- | src/section.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/section.h b/src/section.h index 6aca0c0..0f39c54 100644 --- a/src/section.h +++ b/src/section.h @@ -25,7 +25,6 @@ #include "sortdict.h" class Definition; -class PageInfo; struct SectionInfo { @@ -33,18 +32,23 @@ struct SectionInfo Subsubsection, Paragraph, Anchor }; SectionInfo(const char *f,const char *l,const char *t, - SectionType st,const char *r=0) - { label=l; title=t; type=st; ref=r; - definition=0; pageRef=0; generated=FALSE; - fileName=f; - } + SectionType st,const char *r=0) : + label(l), title(t), type(st), ref(r), definition(0), + fileName(f), generated(FALSE) + { + } + SectionInfo(const SectionInfo &s) + { + label=s.label.copy(); title=s.title.copy(); ref=s.ref.copy(); + type =s.type; definition=s.definition; + fileName=s.fileName.copy(); generated=s.generated; + } ~SectionInfo() {} QCString label; QCString title; - QCString ref; SectionType type; + QCString ref; Definition *definition; - PageInfo *pageRef; QCString fileName; bool generated; }; |