Tag file parser.
更多...
|
enum | State {
Invalid,
InClass,
InConcept,
InFile,
InNamespace,
InGroup,
InPage,
InMember,
InEnumValue,
InPackage,
InDir,
InTempArgList
} |
|
|
void | warn (const char *fmt) |
|
void | warn (const char *fmt, const char *s) |
|
Tag file parser.
Reads an XML-structured tagfile and builds up the structure in memory. The method buildLists() is used to transfer/translate the structures to the doxygen engine.
在文件 tagreader.cpp 第 270 行定义.
◆ State
枚举值 |
---|
Invalid | |
InClass | |
InConcept | |
InFile | |
InNamespace | |
InGroup | |
InPage | |
InMember | |
InEnumValue | |
InPackage | |
InDir | |
InTempArgList | |
在文件 tagreader.cpp 第 804 行定义.
◆ TagFileParser()
TagFileParser::TagFileParser |
( |
const char * |
tagName | ) |
|
|
inline |
◆ addDocAnchors()
void TagFileParser::addDocAnchors |
( |
const std::shared_ptr< Entry > & |
e, |
|
|
const std::vector< TagAnchorInfo > & |
l |
|
) |
| |
在文件 tagreader.cpp 第 1160 行定义.
1162 for (
const auto &ta : l)
1169 ta.label,ta.fileName,-1,ta.title,
1171 e->anchors.push_back(si);
1175 warn(
"Duplicate anchor %s found",
qPrint(ta.label));
引用了 SectionManager::add(), Anchor, SectionManager::instance(), m_tagName, qPrint() , 以及 warn().
被这些函数引用 buildLists() , 以及 buildMemberList().
◆ addIncludes()
void TagFileParser::addIncludes |
( |
| ) |
|
在文件 tagreader.cpp 第 1524 行定义.
1535 for (
const auto &fd : *fn)
1541 for (
const auto &ii : tfi->
includes)
1548 for (
const auto &ifd : *ifn)
1552 if (ifd->getOutputFileBase()==
QCString(ii.id))
1554 fd->addIncludeDependency(ifd.get(),ii.text,ii.isLocal,ii.isImported);
引用了 ASSERT, TagCompoundInfo::File, LinkedMap< T, Hash, KeyEqual, Map >::find(), TagFileInfo::get(), TagFileInfo::includes, Doxygen::inputNameLinkedMap, m_tagFileCompounds, m_tagName, TagCompoundInfo::name , 以及 TagFileInfo::path.
被这些函数引用 parseTagFile().
◆ buildLists()
void TagFileParser::buildLists |
( |
const std::shared_ptr< Entry > & |
root | ) |
|
Injects the info gathered by the XML parser into the Entry tree. This tree contains the information extracted from the input in a "unrelated" form.
在文件 tagreader.cpp 第 1299 行定义.
1307 std::shared_ptr<Entry> ce = std::make_shared<Entry>();
1325 ce->name = tci->
name;
1332 ce->tagInfoData.anchor = tci->
anchor;
1333 ce->tagInfoData.fileName = tci->
filename;
1334 ce->startLine = tci->
lineNr;
1335 ce->hasTagInfo =
TRUE;
1339 ce->extends = tci->
bases;
1347 a.
name = argName.c_str();
1350 ce->tArgLists.push_back(al);
1354 root->moveToSubEntryAndKeep(ce);
1365 std::shared_ptr<Entry> fe = std::make_shared<Entry>();
1367 fe->name = tfi->
name;
1370 fe->tagInfoData.fileName = tfi->
filename;
1371 fe->hasTagInfo =
TRUE;
1374 fe->fileName = fullName;
1375 fe->startLine = tfi->
lineNr;
1384 mn->push_back(std::move(fd));
1389 mn->push_back(std::move(fd));
1392 root->moveToSubEntryAndKeep(fe);
1403 std::shared_ptr<Entry> ce = std::make_shared<Entry>();
1405 ce->name = tci->
name;
1408 ce->tagInfoData.fileName = tci->
filename;
1409 ce->startLine = tci->
lineNr;
1410 ce->hasTagInfo =
TRUE;
1413 root->moveToSubEntryAndKeep(ce);
1424 std::shared_ptr<Entry> ne = std::make_shared<Entry>();
1426 ne->name = tni->
name;
1429 ne->tagInfoData.fileName = tni->
filename;
1430 ne->startLine = tni->
lineNr;
1431 ne->hasTagInfo =
TRUE;
1435 root->moveToSubEntryAndKeep(ne);
1446 std::shared_ptr<Entry> pe = std::make_shared<Entry>();
1448 pe->name = tpgi->
name;
1451 pe->tagInfoData.fileName = tpgi->
filename;
1452 pe->startLine = tpgi->
lineNr;
1453 pe->hasTagInfo =
TRUE;
1456 root->moveToSubEntryAndKeep(pe);
1467 std::shared_ptr<Entry> ge = std::make_shared<Entry>();
1469 ge->name = tgi->
name;
1470 ge->type = tgi->
title;
1473 ge->tagInfoData.fileName = tgi->
filename;
1474 ge->startLine = tgi->
lineNr;
1475 ge->hasTagInfo =
TRUE;
1478 root->moveToSubEntryAndKeep(ge);
1491 const auto &children = root->children();
1492 auto i = std::find_if(children.begin(),children.end(),
1493 [&](
const std::shared_ptr<Entry> &e) { return e->name == sg.c_str(); });
1494 if (i!=children.end())
1509 std::shared_ptr<Entry> pe = std::make_shared<Entry>();
1512 pe->name = tpi->
name;
1513 pe->args = tpi->
title;
1516 pe->tagInfoData.fileName = tpi->
filename;
1517 pe->startLine = tpi->
lineNr;
1518 pe->hasTagInfo =
TRUE;
1519 root->moveToSubEntryAndKeep(pe);
引用了 LinkedMap< T, Hash, KeyEqual, Map >::add(), addDocAnchors(), TagClassInfo::anchor, TagClassInfo::bases, buildMemberList(), TagClassInfo::Category, Entry::Category, TagClassInfo::clangId, TagConceptInfo::clangId, TagNamespaceInfo::clangId, TagCompoundInfo::Class, TagClassInfo::Class, Entry::CLASS_SEC, TagCompoundInfo::Concept, Entry::CONCEPT_SEC, createFileDef(), TagCompoundInfo::docAnchors, TagClassInfo::Enum, Entry::Enum, TagClassInfo::Exception, Entry::Exception, TagCompoundInfo::File, TagCompoundInfo::filename, TagClassInfo::get(), TagConceptInfo::get(), TagNamespaceInfo::get(), TagPackageInfo::get(), TagFileInfo::get(), TagGroupInfo::get(), TagPageInfo::get(), getFileNameExtension(), TagCompoundInfo::Group, Entry::GROUPDOC_SEC, Grouping::GROUPING_INGROUP, guessSection(), Doxygen::inputNameLinkedMap, TagClassInfo::Interface, Entry::Interface, TagClassInfo::isObjC, TagClassInfo::kind, TagCompoundInfo::lineNr, m_tagFileCompounds, m_tagName, Entry::MAINPAGEDOC_SEC, TagCompoundInfo::members, Argument::name, TagCompoundInfo::name, TagCompoundInfo::Namespace, Entry::NAMESPACE_SEC, TagClassInfo::None, TagCompoundInfo::Package, Entry::PACKAGE_SEC, TagCompoundInfo::Page, Entry::PAGEDOC_SEC, TagFileInfo::path, TagClassInfo::Protocol, Entry::Protocol, ArgumentList::push_back(), TagClassInfo::Service, Entry::Service, TagClassInfo::Singleton, Entry::Singleton, SrcLangExt_ObjC, SrcLangExt_Unknown, stripExtensionGeneral(), stripPath(), TagClassInfo::Struct, Entry::Struct, TagGroupInfo::subgroupList, TagClassInfo::templateArguments, TagGroupInfo::title, TagPageInfo::title, TRUE, Argument::type, TagClassInfo::Union , 以及 Entry::Union.
被这些函数引用 parseTagFile().
◆ buildMemberList()
void TagFileParser::buildMemberList |
( |
const std::shared_ptr< Entry > & |
ce, |
|
|
const std::vector< TagMemberInfo > & |
members |
|
) |
| |
在文件 tagreader.cpp 第 1180 行定义.
1182 for (
const auto &tmi : members)
1184 std::shared_ptr<Entry> me = std::make_shared<Entry>();
1185 me->type = tmi.type;
1186 me->name = tmi.name;
1187 me->args = tmi.arglist;
1188 if (!me->args.isEmpty())
1192 if (tmi.enumValues.size()>0)
1195 for (
const auto &evi : tmi.enumValues)
1197 std::shared_ptr<Entry> ev = std::make_shared<Entry>();
1199 ev->name = evi.name;
1200 ev->id = evi.clangid;
1203 ev->tagInfoData.anchor = evi.anchor;
1204 ev->tagInfoData.fileName = evi.file;
1205 ev->hasTagInfo =
TRUE;
1206 me->moveToSubEntryAndKeep(ev);
1209 me->protection = tmi.prot;
1210 me->virt = tmi.virt;
1211 me->stat = tmi.isStatic;
1212 me->fileName = ce->fileName;
1213 me->id = tmi.clangId;
1214 me->startLine = tmi.lineNr;
1221 me->tagInfoData.anchor = tmi.anchor;
1222 me->tagInfoData.fileName = tmi.anchorFile;
1223 me->hasTagInfo =
TRUE;
1224 if (tmi.kind==
"define")
1229 else if (tmi.kind==
"enumvalue")
1234 else if (tmi.kind==
"property")
1239 else if (tmi.kind==
"event")
1244 else if (tmi.kind==
"variable")
1249 else if (tmi.kind==
"typedef")
1252 me->type.prepend(
"typedef ");
1255 else if (tmi.kind==
"enumeration")
1260 else if (tmi.kind==
"function")
1265 else if (tmi.kind==
"signal")
1270 else if (tmi.kind==
"prototype")
1275 else if (tmi.kind==
"friend")
1278 me->type.prepend(
"friend ");
1281 else if (tmi.kind==
"dcop")
1286 else if (tmi.kind==
"slot")
1291 ce->moveToSubEntryAndKeep(me);
引用了 addDocAnchors(), DCOP, Entry::DEFINE_SEC, Entry::ENUM_SEC, Event, Entry::FUNCTION_SEC, Entry::GROUPDOC_SEC, Grouping::GROUPING_INGROUP, m_tagName, Method, Property, Signal, Slot, SrcLangExt_Cpp, stringToArgumentList(), Entry::Strong, TRUE , 以及 Entry::VARIABLE_SEC.
被这些函数引用 buildLists().
◆ characters()
void TagFileParser::characters |
( |
const QCString & |
ch | ) |
|
|
inline |
◆ dump()
void TagFileParser::dump |
( |
| ) |
|
Dumps the internal structures. For debugging only!
在文件 tagreader.cpp 第 989 行定义.
1005 for (
const auto &md : cd->
members)
1010 msg(
" anchor: '%s'\n",
qPrint(md.anchor));
1011 msg(
" arglist: '%s'\n",
qPrint(md.arglist));
1037 msg(
" class: %s \n", cls.c_str() );
1040 for (
const auto &md : nd->
members)
1045 msg(
" anchor: '%s'\n",
qPrint(md.anchor));
1046 msg(
" arglist: '%s'\n",
qPrint(md.arglist));
1062 msg(
" namespace: %s \n", ns.c_str() );
1066 msg(
" class: %s \n", cs.c_str() );
1069 for (
const auto &md : fd->
members)
1074 msg(
" anchor: '%s'\n",
qPrint(md.anchor));
1075 msg(
" arglist: '%s'\n",
qPrint(md.arglist));
1078 for (
const auto &ii : fd->
includes)
1096 msg(
" namespace: %s \n", ns.c_str() );
1100 msg(
" class: %s \n", cs.c_str() );
1102 for (
const auto &fi : gd->
fileList)
1104 msg(
" file: %s \n", fi.c_str() );
1108 msg(
" subgroup: %s \n", sg.c_str() );
1110 for (
const auto &pg : gd->
pageList)
1112 msg(
" page: %s \n", pg.c_str() );
1115 for (
const auto &md : gd->
members)
1120 msg(
" anchor: '%s'\n",
qPrint(md.anchor));
1121 msg(
" arglist: '%s'\n",
qPrint(md.arglist));
1147 for (
const auto &fi : dd->
fileList)
1149 msg(
" file: %s \n", fi.c_str() );
1153 msg(
" subdir: %s \n", sd.c_str() );
引用了 TagClassInfo::bases, TagCompoundInfo::Class, TagNamespaceInfo::classList, TagFileInfo::classList, TagGroupInfo::classList, TagCompoundInfo::Concept, TagCompoundInfo::Dir, TagCompoundInfo::File, TagGroupInfo::fileList, TagDirInfo::fileList, TagCompoundInfo::filename, TagClassInfo::get(), TagConceptInfo::get(), TagNamespaceInfo::get(), TagFileInfo::get(), TagGroupInfo::get(), TagPageInfo::get(), TagDirInfo::get(), TagCompoundInfo::Group, TagFileInfo::includes, QCString::isEmpty(), m_tagFileCompounds, TagCompoundInfo::members, msg(), BaseInfo::name, TagCompoundInfo::name, TagCompoundInfo::Namespace, TagFileInfo::namespaceList, TagGroupInfo::namespaceList, TagCompoundInfo::Page, TagGroupInfo::pageList, TagDirInfo::path, qPrint(), TagDirInfo::subdirList, TagGroupInfo::subgroupList , 以及 TagPageInfo::title.
◆ endAnchor()
void TagFileParser::endAnchor |
( |
| ) |
|
|
inline |
◆ endAnchorFile()
void TagFileParser::endAnchorFile |
( |
| ) |
|
|
inline |
◆ endArglist()
void TagFileParser::endArglist |
( |
| ) |
|
|
inline |
◆ endBase()
void TagFileParser::endBase |
( |
| ) |
|
|
inline |
◆ endClangId()
void TagFileParser::endClangId |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 718 行定义.
734 warn(
"Unexpected tag 'clangid' found");
引用了 TagMemberInfo::clangId, TagClassInfo::clangId, TagNamespaceInfo::clangId, TagClassInfo::get(), TagNamespaceInfo::get(), InClass, InMember, InNamespace, m_curCompound, m_curMember, m_curString, m_state , 以及 warn().
◆ endClass()
void TagFileParser::endClass |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 438 行定义.
458 warn(
"Unexpected tag 'class' found");
引用了 TagClassInfo::classList, TagNamespaceInfo::classList, TagPackageInfo::classList, TagFileInfo::classList, TagGroupInfo::classList, TagClassInfo::get(), TagNamespaceInfo::get(), TagPackageInfo::get(), TagFileInfo::get(), TagGroupInfo::get(), InClass, InFile, InGroup, InNamespace, InPackage, m_curCompound, m_curString, m_state, QCString::str() , 以及 warn().
◆ endCompound()
void TagFileParser::endCompound |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 298 行定义.
313 warn(
"tag 'compound' was not expected!");
引用了 InClass, InConcept, InDir, InFile, InGroup, InNamespace, InPackage, InPage, m_curCompound, m_state, m_tagFileCompounds , 以及 warn().
◆ endConcept()
void TagFileParser::endConcept |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 463 行定义.
477 warn(
"Unexpected tag 'concept' found");
引用了 TagNamespaceInfo::conceptList, TagFileInfo::conceptList, TagGroupInfo::conceptList, TagNamespaceInfo::get(), TagFileInfo::get(), TagGroupInfo::get(), InFile, InGroup, InNamespace, m_curCompound, m_curString, m_state, QCString::str() , 以及 warn().
◆ endDir()
void TagFileParser::endDir |
( |
| ) |
|
|
inline |
◆ endDocAnchor()
void TagFileParser::endDocAnchor |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 399 行定义.
416 warn(
"Unexpected tag 'docanchor' found");
引用了 TagMemberInfo::docAnchors, InClass, InConcept, InDir, InFile, InGroup, InMember, InNamespace, InPackage, InPage, m_curCompound, m_curMember, m_curString, m_fileName, m_state, m_title, QCString::right() , 以及 warn().
◆ endElement()
void TagFileParser::endElement |
( |
const QCString & |
name | ) |
|
◆ endEnumValue()
void TagFileParser::endEnumValue |
( |
| ) |
|
|
inline |
◆ endFile()
void TagFileParser::endFile |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 501 行定义.
512 warn(
"Unexpected tag 'file' found");
引用了 TagGroupInfo::fileList, TagDirInfo::fileList, TagGroupInfo::get(), TagDirInfo::get(), InDir, InGroup, m_curCompound, m_curString, m_state, QCString::str() , 以及 warn().
◆ endFilename()
void TagFileParser::endFilename |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 666 行定义.
681 warn(
"Unexpected tag 'filename' found");
引用了 InClass, InConcept, InDir, InFile, InGroup, InNamespace, InPackage, InPage, m_curCompound, m_curString, m_state , 以及 warn().
◆ endIgnoreElement()
void TagFileParser::endIgnoreElement |
( |
| ) |
|
|
inline |
◆ endIncludes()
void TagFileParser::endIncludes |
( |
| ) |
|
|
inline |
◆ endMember()
void TagFileParser::endMember |
( |
| ) |
|
|
inline |
◆ endName()
void TagFileParser::endName |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 567 行定义.
585 warn(
"Unexpected tag 'name' found");
引用了 InClass, InConcept, InDir, InFile, InGroup, InMember, InNamespace, InPackage, InPage, m_curCompound, m_curMember, m_curString, m_state, TagMemberInfo::name , 以及 warn().
◆ endNamespace()
void TagFileParser::endNamespace |
( |
| ) |
|
|
inline |
在文件 tagreader.cpp 第 482 行定义.
496 warn(
"Unexpected tag 'namespace' found");
引用了 TagNamespaceInfo::get(), TagFileInfo::get(), TagGroupInfo::get(), InFile, InGroup, InNamespace, m_curCompound, m_curString, m_state, TagNamespaceInfo::namespaceList, TagFileInfo::namespaceList, TagGroupInfo::namespaceList, QCString::str() , 以及 warn().
◆ endPage()
void TagFileParser::endPage |
( |
| ) |
|
|
inline |
◆ endPath()
void TagFileParser::endPath |
( |
| ) |
|
|
inline |
◆ endSubgroup()
void TagFileParser::endSubgroup |
( |
| ) |
|
|
inline |
◆ endTemplateArg()
void TagFileParser::endTemplateArg |
( |
| ) |
|
|
inline |
◆ endTitle()
void TagFileParser::endTitle |
( |
| ) |
|
|
inline |
◆ endType()
void TagFileParser::endType |
( |
| ) |
|
|
inline |
◆ error()
void TagFileParser::error |
( |
const QCString & |
fileName, |
|
|
int |
lineNr, |
|
|
const QCString & |
msg |
|
) |
| |
|
inline |
◆ setDocumentLocator()
void TagFileParser::setDocumentLocator |
( |
const XMLLocator * |
locator | ) |
|
|
inline |
◆ startBase()
在文件 tagreader.cpp 第 590 行定义.
599 if (protStr==
"protected")
603 else if (protStr==
"private")
607 if (virtStr==
"virtual")
615 warn(
"Unexpected tag 'base' found");
引用了 TagClassInfo::bases, TagClassInfo::get(), InClass, m_curCompound, m_curString, m_state, Normal, Private, Protected, Public, XMLHandlers::value(), Virtual , 以及 warn().
◆ startCompound()
在文件 tagreader.cpp 第 962 行定义.
977 warn(
"Unknown compound attribute '%s' found!",kind.c_str());
引用了 TagCompoundInfo::Class, g_compoundFactory, TagClassInfo::get(), Invalid, TagClassInfo::isObjC, XMLLocator::lineNr(), m_curCompound, m_curString, m_locator, m_state, TRUE, XMLHandlers::value() , 以及 warn().
◆ startDocAnchor()
◆ startDocument()
void TagFileParser::startDocument |
( |
| ) |
|
|
inline |
◆ startElement()
◆ startEnumValue()
在文件 tagreader.cpp 第 369 行定义.
383 warn(
"Found 'enumvalue' tag outside of member tag");
引用了 TagEnumValueInfo::anchor, TagEnumValueInfo::clangid, TagEnumValueInfo::file, InEnumValue, InMember, m_curEnumValue, m_curString, m_state, m_stateStack, XMLHandlers::value() , 以及 warn().
◆ startIgnoreElement()
◆ startIncludes()
◆ startMember()
在文件 tagreader.cpp 第 318 行定义.
326 if (protStr==
"protected")
330 else if (protStr==
"private")
334 if (virtStr==
"virtual")
338 else if (virtStr==
"pure")
342 if (staticStr==
"yes")
引用了 InMember, TagMemberInfo::isStatic, TagMemberInfo::kind, XMLLocator::lineNr(), TagMemberInfo::lineNr, m_curMember, m_locator, m_state, m_stateStack, Private, TagMemberInfo::prot, Protected, Pure, TRUE, XMLHandlers::value(), TagMemberInfo::virt , 以及 Virtual.
◆ startStringValue()
◆ warn() [1/2]
void TagFileParser::warn |
( |
const char * |
fmt | ) |
|
|
inlineprivate |
在文件 tagreader.cpp 第 819 行定义.
引用了 XMLLocator::fileName(), XMLLocator::lineNr() , 以及 m_locator.
被这些函数引用 addDocAnchors(), endAnchor(), endAnchorFile(), endArglist(), endBase(), endClangId(), endClass(), endCompound(), endConcept(), endDir(), endDocAnchor(), endElement(), endFile(), endFilename(), endIncludes(), endMember(), endName(), endNamespace(), endPage(), endPath(), endSubgroup(), endTemplateArg(), endTitle(), endType(), error(), startBase(), startCompound(), startElement(), startEnumValue() , 以及 warn().
◆ warn() [2/2]
void TagFileParser::warn |
( |
const char * |
fmt, |
|
|
const char * |
s |
|
) |
| |
|
inlineprivate |
◆ m_curCompound
在文件 tagreader.cpp 第 835 行定义.
被这些函数引用 endAnchor(), endBase(), endClangId(), endClass(), endCompound(), endConcept(), endDir(), endDocAnchor(), endFile(), endFilename(), endIncludes(), endMember(), endName(), endNamespace(), endPage(), endPath(), endSubgroup(), endTemplateArg(), endTitle(), startBase() , 以及 startCompound().
◆ m_curEnumValue
◆ m_curIncludes
◆ m_curMember
◆ m_curString
在文件 tagreader.cpp 第 841 行定义.
被这些函数引用 characters(), endAnchor(), endAnchorFile(), endArglist(), endBase(), endClangId(), endClass(), endConcept(), endDir(), endDocAnchor(), endEnumValue(), endFile(), endFilename(), endIncludes(), endName(), endNamespace(), endPage(), endPath(), endSubgroup(), endTemplateArg(), endTitle(), endType(), startBase(), startCompound(), startDocAnchor(), startEnumValue(), startIncludes() , 以及 startStringValue().
◆ m_fileName
◆ m_locator
const XMLLocator* TagFileParser::m_locator = nullptr |
|
private |
◆ m_state
在文件 tagreader.cpp 第 845 行定义.
被这些函数引用 endAnchor(), endAnchorFile(), endArglist(), endBase(), endClangId(), endClass(), endCompound(), endConcept(), endDir(), endDocAnchor(), endEnumValue(), endFile(), endFilename(), endIncludes(), endMember(), endName(), endNamespace(), endPage(), endPath(), endSubgroup(), endTemplateArg(), endTitle(), endType(), startBase(), startCompound(), startDocument(), startEnumValue() , 以及 startMember().
◆ m_stateStack
std::stack<State> TagFileParser::m_stateStack |
|
private |
◆ m_tagFileCompounds
std::vector< std::unique_ptr<TagCompoundInfo> > TagFileParser::m_tagFileCompounds |
|
private |
◆ m_tagName
◆ m_title
该类的文档由以下文件生成:
static TagPageInfo * get(std::unique_ptr< TagCompoundInfo > &t)
Container for namespace specific info that can be read from a tagfile
static TagGroupInfo * get(std::unique_ptr< TagCompoundInfo > &t)
static TagClassInfo * get(std::unique_ptr< TagCompoundInfo > &t)
std::vector< TagAnchorInfo > docAnchors
void push_back(const Argument &a)
Container for directory specific info that can be read from a tagfile
Protection
Protection level of members
Class representing all files with a certain base name
QCString stripExtensionGeneral(const QCString &fName, const QCString &ext)
static TagNamespaceInfo * get(std::unique_ptr< TagCompoundInfo > &t)
StringVector templateArguments
void buildMemberList(const std::shared_ptr< Entry > &ce, const std::vector< TagMemberInfo > &members)
virtual std::string fileName() const =0
This class represents an function or template argument list.
std::vector< BaseInfo > bases
bool isEmpty() const
Returns TRUE iff the string is empty
StringVector namespaceList
static TagPackageInfo * get(std::unique_ptr< TagCompoundInfo > &t)
static TagConceptInfo * get(std::unique_ptr< TagCompoundInfo > &t)
T * add(const char *k, Args &&... args)
Adds a new object to the ordered vector if it was not added already.
static const std::map< std::string, ElementCallbacks > g_elementHandlers
Specifier
Virtualness of a member.
const XMLLocator * m_locator
TagEnumValueInfo m_curEnumValue
TagMemberInfo m_curMember
Container for concept specific info that can be read from a tagfile
StringVector namespaceList
Container for class specific info that can be read from a tagfile
TagIncludeInfo m_curIncludes
DirIterator end(const DirIterator &) noexcept
static FileNameLinkedMap * inputNameLinkedMap
virtual int lineNr() const =0
QCString name
the name of the base class
static const uint64 Union
static const uint64 Struct
static const uint64 Interface
FileDef * createFileDef(const QCString &p, const QCString &n, const QCString &ref, const QCString &dn)
Container for group specific info that can be read from a tagfile
StringVector namespaceList
QCString stripWhiteSpace() const
returns a copy of this string with leading and trailing whitespace removed
void addDocAnchors(const std::shared_ptr< Entry > &e, const std::vector< TagAnchorInfo > &l)
This class contains the information about the argument of a function or template
QCString stripPath(const QCString &s)
std::vector< TagEnumValueInfo > enumValues
static const uint64 Service
const T * find(const std::string &key) const
Find an object given the key.
static const uint64 Protocol
static const std::map< std::string, CompoundFactory > g_compoundFactory
Container for include info that can be read from a tagfile
static TagFileInfo * get(std::unique_ptr< TagCompoundInfo > &t)
SectionInfo * add(const SectionInfo &si)
Add a new section given the data of an existing section.
std::vector< TagAnchorInfo > docAnchors
Container for file specific info that can be read from a tagfile
static const uint64 Exception
Information about an linkable anchor
static TagDirInfo * get(std::unique_ptr< TagCompoundInfo > &t)
Container for package specific info that can be read from a tagfile
static const uint64 Strong
static SectionManager & instance()
returns a reference to the singleton
void msg(const char *fmt,...)
@ GROUPING_INGROUP
membership in group was defined by @ingroup
static const uint64 Category
const char * qPrint(const char *s)
std::stack< State > m_stateStack
std::unique_ptr< TagCompoundInfo > m_curCompound
class that provide information about a section.
QCString getFileNameExtension(const QCString &fn)
This class stores information about an inheritance relation
void warn(const char *fmt)
StringVector subgroupList
Container for member specific info that can be read from a tagfile
std::vector< TagMemberInfo > members
std::vector< std::unique_ptr< TagCompoundInfo > > m_tagFileCompounds
Container for enum values that are scoped within an enum
static const uint64 Singleton
int guessSection(const QCString &name)
std::unique_ptr< ArgumentList > stringToArgumentList(SrcLangExt lang, const QCString &argsString, QCString *extraTypeChars=0)
Container for page specific info that can be read from a tagfile
QCString right(size_t len) const
std::vector< TagIncludeInfo > includes
static std::string value(const Attributes &attrib, const std::string &key)
This is an alternative implementation of QCString.