void DirDef::writeNavigationPath(OutputList &ol) { ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); ol.writeString("<div class=\"nav\">\n"); writePathFragment(ol); ol.writeString("</div>\n"); ol.popGeneratorState(); }
void Definition::writeNavigationPath(OutputList &ol) const { static bool generateTreeView = Config_getBool("GENERATE_TREEVIEW"); ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); if (generateTreeView) { ol.writeString("</div>\n"); } ol.writeString(" <div id=\"nav-path\" class=\"navpath\">\n"); ol.writeString(" <ul>\n"); writePathFragment(ol); if (!generateTreeView) { ol.writeString(" </ul>\n"); ol.writeString(" </div>\n"); } ol.popGeneratorState(); }