Private data of the template engine
更多...
Private data of the template engine
在文件 template.cpp 第 5226 行定义.
◆ Private()
◆ ~Private()
TemplateEngine::Private::~Private |
( |
| ) |
|
|
inline |
◆ enterBlock()
void TemplateEngine::Private::enterBlock |
( |
const QCString & |
fileName, |
|
|
const QCString & |
blockName, |
|
|
int |
line |
|
) |
| |
|
inline |
◆ leaveBlock()
void TemplateEngine::Private::leaveBlock |
( |
| ) |
|
|
inline |
◆ loadByName()
Template* TemplateEngine::Private::loadByName |
( |
const QCString & |
fileName, |
|
|
int |
line |
|
) |
| |
|
inline |
在文件 template.cpp 第 5254 行定义.
5264 std::ifstream f(filePath.
str(),std::ifstream::in | std::ifstream::binary);
5268 int size=(int)fi.size();
5270 f.read(data.rawData(),size);
5274 std::make_pair(fileName.str(),
5284 std::make_pair(fileName.str(),
5289 err(
"Could not open template file %s\n",
qPrint(fileName));
引用了 err(), ResourceMgr::getAsString(), ResourceMgr::instance(), QCString::isEmpty(), m_engine, m_extension, m_includeStack, m_templateCache, m_templateDirName, qPrint(), QCString::rawData(), FileInfo::size(), QCString::str() , 以及 TemplateEngine::Private::IncludeEntry::Template.
◆ outputExtension()
QCString TemplateEngine::Private::outputExtension |
( |
| ) |
const |
|
inline |
◆ printIncludeContext()
void TemplateEngine::Private::printIncludeContext |
( |
const QCString & |
fileName, |
|
|
int |
line |
|
) |
| const |
|
inline |
在文件 template.cpp 第 5321 行定义.
5326 const IncludeEntry &ie = *it;
5328 const IncludeEntry *next = it!=
m_includeStack.rend() ? &(*it) : 0;
5333 warn(fileName,line,
" inside template '%s' included from template '%s' at line %d",
qPrint(ie.fileName()),
qPrint(next->fileName()),ie.line());
5338 warn(fileName,line,
" included by block '%s' inside template '%s' at line %d",
qPrint(ie.blockName()),
5339 qPrint(ie.fileName()),ie.line());
引用了 TemplateEngine::Private::IncludeEntry::blockName(), TemplateEngine::Private::IncludeEntry::fileName(), TemplateEngine::Private::IncludeEntry::line(), m_includeStack, qPrint(), TemplateEngine::Private::IncludeEntry::Template, TemplateEngine::Private::IncludeEntry::type() , 以及 warn().
◆ setOutputExtension()
void TemplateEngine::Private::setOutputExtension |
( |
const QCString & |
extension | ) |
|
|
inline |
◆ setTemplateDir()
void TemplateEngine::Private::setTemplateDir |
( |
const QCString & |
dirName | ) |
|
|
inline |
◆ unload()
void TemplateEngine::Private::unload |
( |
Template * |
| ) |
|
|
inline |
◆ m_engine
◆ m_extension
QCString TemplateEngine::Private::m_extension |
|
private |
◆ m_includeStack
std::vector<IncludeEntry> TemplateEngine::Private::m_includeStack |
|
private |
◆ m_templateCache
std::unordered_map< std::string, std::unique_ptr<Template> > TemplateEngine::Private::m_templateCache |
|
private |
◆ m_templateDirName
QCString TemplateEngine::Private::m_templateDirName |
|
private |
该类的文档由以下文件生成: