Doxygen
docbookvisitor.cpp 文件参考
#include <fstream>
#include "docbookvisitor.h"
#include "docparser.h"
#include "language.h"
#include "doxygen.h"
#include "outputgen.h"
#include "docbookgen.h"
#include "dot.h"
#include "message.h"
#include "util.h"
#include "parserintf.h"
#include "filename.h"
#include "config.h"
#include "filedef.h"
#include "msc.h"
#include "dia.h"
#include "htmlentity.h"
#include "emoji.h"
#include "plantuml.h"
#include "growbuf.h"
#include "fileinfo.h"
+ docbookvisitor.cpp 的引用(Include)关系图:

浏览源代码.

宏定义

#define DB_VIS_C
 
#define DB_VIS_C1(x)
 
#define DB_VIS_C2(y)
 
#define DB_VIS_C2a(x, y)
 

函数

static QCString filterId (const QCString &s)
 
static bool supportedHtmlAttribute (const QCString &name)
 

宏定义说明

◆ DB_VIS_C

#define DB_VIS_C

在文件 docbookvisitor.cpp45 行定义.

◆ DB_VIS_C1

#define DB_VIS_C1 (   x)

在文件 docbookvisitor.cpp46 行定义.

◆ DB_VIS_C2

#define DB_VIS_C2 (   y)

在文件 docbookvisitor.cpp47 行定义.

◆ DB_VIS_C2a

#define DB_VIS_C2a (   x,
 
)

在文件 docbookvisitor.cpp48 行定义.

函数说明

◆ filterId()

static QCString filterId ( const QCString s)
static

在文件 docbookvisitor.cpp51 行定义.

52 {
53  if (s.isEmpty()) return s;
54  static GrowBuf growBuf;
55  growBuf.clear();
56  const char *p=s.data();
57  char c;
58  while ((c=*p++))
59  {
60  switch (c)
61  {
62  case ':': growBuf.addStr("_1"); break;
63  default: growBuf.addChar(c); break;
64  }
65  }
66  growBuf.addChar(0);
67  return growBuf.get();
68 }

引用了 GrowBuf::addChar(), GrowBuf::addStr(), GrowBuf::clear(), QCString::data(), GrowBuf::get() , 以及 QCString::isEmpty().

被这些函数引用 DocbookDocVisitor::visit() , 以及 DocbookDocVisitor::visitPre().

◆ supportedHtmlAttribute()

static bool supportedHtmlAttribute ( const QCString name)
static

在文件 docbookvisitor.cpp70 行定义.

71 {
72  return (name=="align" ||
73  name=="bgcolor" ||
74  name=="border" ||
75  name=="cellpadding" ||
76  name=="cellspacing" ||
77  name=="class" ||
78  name=="frame" ||
79  name=="label" ||
80  name=="style" ||
81  name=="width" ||
82  name=="tabstyle" ||
83  name=="title");
84 }

被这些函数引用 DocbookDocVisitor::visitPre().

GrowBuf::get
char * get()
Definition: growbuf.h:94
QCString::isEmpty
bool isEmpty() const
Returns TRUE iff the string is empty
Definition: qcstring.h:144
GrowBuf::addStr
void addStr(const QCString &s)
Definition: growbuf.h:57
GrowBuf::addChar
void addChar(char c)
Definition: growbuf.h:54
GrowBuf
Class representing a string buffer optimised for growing.
Definition: growbuf.h:12
QCString::data
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string
Definition: qcstring.h:153
GrowBuf::clear
void clear()
Definition: growbuf.h:53