Doxygen
|
#include <array>
#include <assert.h>
#include "types.h"
#include "layout.h"
#include "message.h"
#include "language.h"
#include "util.h"
#include "doxygen.h"
#include "version.h"
#include "config.h"
#include "xml.h"
#include "resourcemgr.h"
#include "docparser.h"
#include "docnode.h"
#include "debug.h"
#include "regex.h"
Go to the source code of this file.
Classes | |
class | LayoutParser |
struct | anonymous_namespace{layout.cpp}::ElementCallbacks |
class | LayoutDocManager::Private |
Namespaces | |
namespace | anonymous_namespace{layout.cpp} |
Functions | |
QCString | compileOptions (const QCString &def) |
QCString | compileOptions (const QCString &def, SrcLangExt langId1, const QCString &value1) |
QCString | compileOptions (const QCString &def, SrcLangExt langId1, const QCString &value1, SrcLangExt langId2, const QCString &value2) |
QCString | compileOptions (const QCString &def, SrcLangExt langId1, const QCString &value1, SrcLangExt langId2, const QCString &value2, SrcLangExt langId3, const QCString &value3) |
QCString | compileOptions (const QCString &def, SrcLangExt langId1, const QCString &value1, SrcLangExt langId2, const QCString &value2, SrcLangExt langId3, const QCString &value3, SrcLangExt langId4, const QCString &value4) |
QCString | compileOptions (const QCString &def, SrcLangExt langId1, const QCString &value1, SrcLangExt langId2, const QCString &value2, SrcLangExt langId3, const QCString &value3, SrcLangExt langId4, const QCString &value4, SrcLangExt langId5, const QCString &value5) |
static bool | elemIsVisible (const XMLHandlers::Attributes &attrib, bool defVal=TRUE) |
template<class... Args> | |
static auto | anonymous_namespace{layout.cpp}::startCb (void(LayoutParser::*fn)(Args...)) |
template<class... Args> | |
static auto | anonymous_namespace{layout.cpp}::startCb (void(LayoutParser::*fn)(Args...), LayoutDocEntry::Kind kind) |
template<class... Args> | |
static auto | anonymous_namespace{layout.cpp}::startCb (void(LayoutParser::*fn)(Args...), LayoutDocEntry::Kind kind, const std::function< QCString()> &title) |
template<class... Args> | |
static auto | anonymous_namespace{layout.cpp}::startCb (void(LayoutParser::*fn)(Args...), MemberListType type, const std::function< QCString()> &title) |
template<class... Args> | |
static auto | anonymous_namespace{layout.cpp}::startCb (void(LayoutParser::*fn)(Args...), MemberListType type, const std::function< QCString()> &title, const std::function< QCString()> &subtitle) |
template<class... Args> | |
static auto | anonymous_namespace{layout.cpp}::startCb (void(LayoutParser::*fn)(Args...), LayoutDocManager::LayoutPart part, const QCString &scope, LayoutNavEntry::Kind nav) |
template<class... Args> | |
static auto | anonymous_namespace{layout.cpp}::endCb (void(LayoutParser::*fn)(Args...)) |
static LayoutNavEntry * | findNavEntryRec (LayoutNavEntry *root, const std::string &id) |
static void | mergeNavTreeNodesRec (LayoutNavEntry *targetTree, LayoutNavEntry *sourceTree) |
static void | mergeDocEntryLists (const QCString &fileName, LayoutDocEntryList &targetList, LayoutDocEntryList &sourceList) |
void | writeDefaultLayoutFile (const QCString &fileName) |
QCString | extractLanguageSpecificTitle (const QCString &input, SrcLangExt lang) |
static void | printNavLayout (LayoutNavEntry *root, int indent) |
void | printLayout () |
Variables | |
static const std::map< std::string, ElementCallbacks > | anonymous_namespace{layout.cpp}::g_elementHandlers |
Definition at line 35 of file layout.cpp.
Referenced by compileOptions(), compileOptions(), compileOptions(), compileOptions(), and compileOptions().
|
inline |
Definition at line 40 of file layout.cpp.
References compileOptions(), and QCString::setNum().
|
inline |
Definition at line 45 of file layout.cpp.
References compileOptions(), and QCString::setNum().
|
inline |
Definition at line 52 of file layout.cpp.
References compileOptions(), and QCString::setNum().
|
inline |
Definition at line 60 of file layout.cpp.
References compileOptions(), and QCString::setNum().
|
inline |
Definition at line 69 of file layout.cpp.
References compileOptions(), and QCString::setNum().
|
static |
Definition at line 79 of file layout.cpp.
References QCString::at(), err, FALSE, QCString::isEmpty(), QCString::length(), QCString::lower(), QCString::mid(), TRUE, and XMLHandlers::value().
Referenced by LayoutParser::startMemberDecl(), LayoutParser::startMemberDeclEntry(), LayoutParser::startMemberDef(), LayoutParser::startMemberDefEntry(), LayoutParser::startNavEntry(), LayoutParser::startSectionEntry(), LayoutParser::startSimpleEntry(), and LayoutParser::startTop().
QCString extractLanguageSpecificTitle | ( | const QCString & | input, |
SrcLangExt | lang ) |
Definition at line 1756 of file layout.cpp.
References QCString::find(), QCString::left(), QCString::length(), and QCString::mid().
Referenced by LayoutDocEntryMemberDecl::subtitle(), LayoutDocEntryMemberDecl::title(), LayoutDocEntryMemberDef::title(), and LayoutDocEntrySection::title().
|
static |
Definition at line 1540 of file layout.cpp.
References LayoutNavEntry::children(), findNavEntryRec(), and LayoutNavEntry::id().
Referenced by findNavEntryRec(), and mergeNavTreeNodesRec().
|
static |
Definition at line 1638 of file layout.cpp.
References warn_layout.
Referenced by LayoutDocManager::mergeDocEntries().
|
static |
Definition at line 1555 of file layout.cpp.
References LayoutNavEntry::children(), findNavEntryRec(), LayoutNavEntry::id(), LayoutNavEntry::insertChild(), and mergeNavTreeNodesRec().
Referenced by LayoutDocManager::mergeNavEntries(), and mergeNavTreeNodesRec().
void printLayout | ( | ) |
Definition at line 1820 of file layout.cpp.
References LayoutDocManager::instance(), Debug::Layout, LayoutDocManager::partToString(), Debug::print(), and printNavLayout().
Referenced by LayoutDocManager::LayoutParser, and parseInput().
|
static |
Definition at line 1805 of file layout.cpp.
References LayoutNavEntry::children(), QCString::fill(), Debug::isFlagSet(), Debug::Layout, LayoutNavEntry::navToString(), Debug::print(), printNavLayout(), LayoutNavEntry::title(), and LayoutNavEntry::visible().
Referenced by printLayout(), and printNavLayout().
void writeDefaultLayoutFile | ( | const QCString & | fileName | ) |
Definition at line 1732 of file layout.cpp.
References err, ResourceMgr::getAsString(), ResourceMgr::instance(), openOutputFile(), and substitute().
Referenced by LayoutDocManager::LayoutParser, and readConfiguration().