NOMENCL,//"nomencl"
LISTING,//"listings"
FLOAT,//"figure", "table", "algorithm", user-defined (from layout?)
+ MATH_MACRO,//"math-macro"
+ EXTERNAL,//"external"
SENSELESS,//"senseless"
TOC_TYPE_COUNT
}
class Toc : public std::vector<TocItem>
{
public:
+ // This is needed to work around a libc++ bug
+ // https://llvm.org/bugs/show_bug.cgi?id=24137
+ Toc() {}
typedef std::vector<TocItem>::const_iterator const_iterator;
typedef std::vector<TocItem>::iterator iterator;
const_iterator item(DocIterator const & dit) const;
///
void writePlaintextTocList(std::string const & type,
odocstringstream & os, size_t max_length) const;
+ ///
+ docstring outlinerName(std::string const & type) const;
private:
///