diff options
author | albert-github <albert.tests@gmail.com> | 2018-07-12 12:15:33 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-07-12 12:15:33 (GMT) |
commit | 5b735d5118581e3bca686f79de341b8b2e76691f (patch) | |
tree | 4448208ebb60ef4fdc3a41b83774565d532ab1c0 /src/entry.cpp | |
parent | ba30b13cfd4910a5913f080a039fc429ec8a7e3f (diff) | |
download | Doxygen-5b735d5118581e3bca686f79de341b8b2e76691f.zip Doxygen-5b735d5118581e3bca686f79de341b8b2e76691f.tar.gz Doxygen-5b735d5118581e3bca686f79de341b8b2e76691f.tar.bz2 |
Enable in page table of contents for XML and add maximum level to in page table of contents
- add the in page table of contents for XML
- add the possibility to have maximum levels in the in page table of contents (possible per output type and per in page table of contents. Default is show all)
Diffstat (limited to 'src/entry.cpp')
-rw-r--r-- | src/entry.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/entry.cpp b/src/entry.cpp index 9ecaf70..e4fb0a5 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -74,6 +74,10 @@ Entry::Entry(const Entry &e) initLines = e.initLines; stat = e.stat; localToc = e.localToc; + for (int i = 0; i < sizeof(localTocLevel) / sizeof(*localTocLevel) ; i++) + { + localTocLevel[i] = e.localTocLevel[i]; + } explicitExternal = e.explicitExternal; proto = e.proto; subGrouping = e.subGrouping; @@ -255,6 +259,10 @@ void Entry::reset() virt = Normal; stat = FALSE; localToc = Definition::None; + for (int i = 0; i < sizeof(localTocLevel) / sizeof(*localTocLevel) ; i++) + { + localTocLevel[i] = 0; + } proto = FALSE; explicitExternal = FALSE; spec = 0; |