Doxygen
htmlhelp.cpp 文件参考
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
#include "htmlhelp.h"
#include "config.h"
#include "message.h"
#include "doxygen.h"
#include "language.h"
#include "portable.h"
#include "groupdef.h"
#include "memberdef.h"
#include "filedef.h"
#include "util.h"
#include "linkedmap.h"
#include "regex.h"
#include "fileinfo.h"
+ htmlhelp.cpp 的引用(Include)关系图:

浏览源代码.

class  HtmlHelpRecoder
 Helper class to deal with recoding the UTF8 encoded text back to the native encoding specified by CHM_INDEX_ENCODING. 更多...
 
struct  IndexField
 Class representing a field in the HTML help index. 更多...
 
class  HtmlHelpIndex
 A helper class for HtmlHelp that manages a two level index in alphabetical order. 更多...
 
class  HtmlHelp::Private
 

函数

static QCString field2URL (const IndexField *f, bool checkReversed)
 

变量

static StringUnorderedMap s_languageDict
 

函数说明

◆ field2URL()

static QCString field2URL ( const IndexField f,
bool  checkReversed 
)
static

在文件 htmlhelp.cpp175 行定义.

176 {
178  if (!f->anchor.isEmpty() && (!checkReversed || f->reversed))
179  {
180  // HTML Help needs colons in link anchors to be escaped in the .hhk file.
181  result+="#"+substitute(f->anchor,":","%3A");
182  }
183  return result;
184 }

引用了 addHtmlExtensionIfMissing(), IndexField::anchor, QCString::isEmpty(), IndexField::reversed, substitute() , 以及 IndexField::url.

被这些函数引用 HtmlHelpIndex::writeFields().

变量说明

◆ s_languageDict

StringUnorderedMap s_languageDict
static

在文件 htmlhelp.cpp390 行定义.

被这些函数引用 HtmlHelp::getLanguageString().

QCString::isEmpty
bool isEmpty() const
Returns TRUE iff the string is empty
Definition: qcstring.h:144
addHtmlExtensionIfMissing
QCString addHtmlExtensionIfMissing(const QCString &fName)
Definition: util.cpp:5275
IndexField::url
QCString url
Definition: htmlhelp.cpp:105
IndexField::anchor
QCString anchor
Definition: htmlhelp.cpp:106
substitute
QCString substitute(const QCString &s, const QCString &src, const QCString &dst)
substitute all occurrences of src in s by dst
Definition: qcstring.cpp:465
IndexField::reversed
bool reversed
Definition: htmlhelp.cpp:108
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108