Doxygen
layout.h 文件参考
#include <memory>
#include <vector>
#include "types.h"
+ layout.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  LayoutDocEntry
 Base class representing a piece of a documentation page 更多...
 
struct  LayoutDocEntrySimple
 Represents of a piece of a documentation page without configurable parts 更多...
 
struct  LayoutDocEntrySection
 
struct  LayoutDocEntryMemberDecl
 Represents of a member declaration list with configurable title and subtitle. 更多...
 
struct  LayoutDocEntryMemberDef
 Represents of a member definition list with configurable title. 更多...
 
struct  LayoutNavEntry
 Base class for the layout of a navigation item at the top of the HTML pages. 更多...
 
class  LayoutDocManager
 Singleton providing access to the (user configurable) layout of the documentation 更多...
 

类型定义

using LayoutNavEntryList = std::vector< std::unique_ptr< LayoutNavEntry > >
 
using LayoutDocEntryList = std::vector< std::unique_ptr< LayoutDocEntry > >
 

函数

void writeDefaultLayoutFile (const QCString &fileName)
 

类型定义说明

◆ LayoutDocEntryList

using LayoutDocEntryList = std::vector< std::unique_ptr<LayoutDocEntry> >

在文件 layout.h194 行定义.

◆ LayoutNavEntryList

using LayoutNavEntryList = std::vector< std::unique_ptr<LayoutNavEntry> >

在文件 layout.h122 行定义.

函数说明

◆ writeDefaultLayoutFile()

void writeDefaultLayoutFile ( const QCString fileName)

在文件 layout.cpp1614 行定义.

1615 {
1616  std::ofstream f;
1617  if (openOutputFile(fileName,f))
1618  {
1619  TextStream t(&f);
1620  QCString layout_default = ResourceMgr::instance().getAsString("layout_default.xml");
1621  t << substitute(layout_default,"$doxygenversion",getDoxygenVersion());
1622  }
1623  else
1624  {
1625  err("Failed to open file %s for writing!\n",qPrint(fileName));
1626  return;
1627  }
1628  f.close();
1629 }

引用了 err(), ResourceMgr::getAsString(), ResourceMgr::instance(), openOutputFile(), qPrint() , 以及 substitute().

被这些函数引用 readConfiguration().

ResourceMgr::instance
static ResourceMgr & instance()
Returns the one and only instance of this class
Definition: resourcemgr.cpp:32
ResourceMgr::getAsString
QCString getAsString(const QCString &name) const
Gets the resource data as a C string
Definition: resourcemgr.cpp:192
err
void err(const char *fmt,...)
Definition: message.cpp:203
TextStream
Text streaming class that buffers data.
Definition: textstream.h:33
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
qPrint
const char * qPrint(const char *s)
Definition: qcstring.h:589
openOutputFile
bool openOutputFile(const QCString &outFile, std::ofstream &f)
Definition: util.cpp:7039
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108