4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Jean-Marc Lasgouttes
8 * \author Angus Leeming
9 * \author Abdelrazak Younes
10 * \author Guillaume Munch
12 * Full author contact details are available in file CREDITS.
18 #include "support/shared_ptr.h"
27 // TocItem is defined in TocBackend.h
30 typedef std::vector<TocItem> Toc;
32 class TocList : public std::map<std::string, shared_ptr<Toc> >
35 // TocList should never map to null pointers.
36 // We forbid the following method which creates null pointers.
37 using std::map<std::string, shared_ptr<Toc> >::operator[];