Doxygen
|
#include <src/definitionimpl.h>
Classes | |
class | Private |
Private data associated with a Symbol DefinitionImpl object. More... | |
Private Member Functions | |
int | _getXRefListId (const QCString &listName) const |
void | _writeSourceRefList (OutputList &ol, const QCString &scopeName, const QCString &text, const std::unordered_map< std::string, MemberDef * > &members, bool) const |
void | _setBriefDescription (const QCString &b, const QCString &briefFile, int briefLine) |
void | _setDocumentation (const QCString &d, const QCString &docFile, int docLine, bool stripWhiteSpace, bool atTop) |
void | _setInbodyDocumentation (const QCString &d, const QCString &docFile, int docLine) |
bool | _docsAlreadyAdded (const QCString &doc, QCString &sigList) |
Private Attributes | |
std::unique_ptr< Private > | p |
Definition at line 27 of file definitionimpl.h.
DefinitionImpl::DefinitionImpl | ( | Definition * | def, |
const QCString & | defFileName, | ||
int | defLine, | ||
int | defColumn, | ||
const QCString & | name, | ||
const char * | b = nullptr, | ||
const char * | d = nullptr, | ||
bool | isSymbol = TRUE ) |
Definition at line 234 of file definition.cpp.
References _setBriefDescription(), _setDocumentation(), addToMap(), FALSE, matchExcludedSymbols(), name(), p, setName(), and TRUE.
Referenced by DefinitionImpl(), DefinitionImpl(), mergeReferencedBy(), mergeReferences(), operator=(), and operator=().
DefinitionImpl::~DefinitionImpl | ( | ) |
Definition at line 270 of file definition.cpp.
References p, and removeFromMap().
DefinitionImpl::DefinitionImpl | ( | const DefinitionImpl & | d | ) |
Definition at line 255 of file definition.cpp.
References addToMap(), DefinitionImpl(), and p.
|
delete |
References DefinitionImpl().
Definition at line 364 of file definition.cpp.
References QCString::data(), FALSE, QCString::find(), QCString::length(), QCString::simplifyWhiteSpace(), and TRUE.
Referenced by _setBriefDescription(), and toDefinition().
|
private |
Definition at line 1317 of file definition.cpp.
References RefItem::id(), RefItem::list(), RefList::listName(), and p.
|
private |
Definition at line 439 of file definition.cpp.
References _docsAlreadyAdded(), _setDocumentation(), QCString::at(), briefFile(), briefLine(), BriefInfo::doc, FALSE, BriefInfo::file, QCString::isEmpty(), isUTF8CharUpperCase(), lastUTF8CharIsMultibyte(), QCString::length(), BriefInfo::line, p, QCString::str(), stripLeadingAndTrailingEmptyLines(), QCString::stripWhiteSpace(), theTranslator, and TRUE.
Referenced by DefinitionImpl(), and setBriefDescription().
|
private |
Definition at line 386 of file definition.cpp.
References docFile(), docLine(), and stripWhiteSpace().
Referenced by _setBriefDescription(), DefinitionImpl(), and setDocumentation().
|
private |
Definition at line 502 of file definition.cpp.
References DocInfo::doc, DocInfo::file, inbodyFile(), inbodyLine(), QCString::isEmpty(), DocInfo::line, and p.
Referenced by setInbodyDocumentation().
void DefinitionImpl::_setSymbolName | ( | const QCString & | name | ) |
QCString DefinitionImpl::_symbolName | ( | ) | const |
Definition at line 1764 of file definition.cpp.
References p.
|
private |
Write a reference to the source code fragments in which this definition is used.
Definition at line 1079 of file definition.cpp.
References Definition::anchor(), Config_getBool, OutputList::docify(), OutputList::endParagraph(), Definition::getBodyDef(), getLanguageSpecificSeparator(), Definition::getOutputFileBase(), Definition::getReference(), MemberDef::getScopeString(), Definition::getSourceFileBase(), Definition::getStartBodyLine(), QCString::isEmpty(), MemberDef::isFunction(), Definition::isLinkable(), MemberDef::isObjCMethod(), MemberDef::isPrototype(), MemberDef::isSignal(), MemberDef::isSlot(), Definition::name(), name(), p, OutputList::parseText(), qsnprintf, refMapToVector(), OutputList::startParagraph(), theTranslator, writeMarkerList(), OutputList::writeObjectLink(), and OutputList::writeString().
Referenced by writeSourceReffedBy(), and writeSourceRefs().
void DefinitionImpl::addInnerCompound | ( | Definition * | d | ) |
void DefinitionImpl::addSectionsToDefinition | ( | const std::vector< const SectionInfo * > & | anchorList | ) |
Definition at line 303 of file definition.cpp.
References SectionManager::add(), LinkedMap< T, Hash, KeyEqual, Map >::find(), SectionManager::instance(), SectionInfo::label(), p, and SectionInfo::setDefinition().
Definition at line 1191 of file definition.cpp.
References p, and QCString::str().
Definition at line 1199 of file definition.cpp.
References p, and QCString::str().
Definition at line 1530 of file definition.cpp.
References abbreviate(), and p.
Referenced by hasBriefDescription().
QCString DefinitionImpl::briefDescriptionAsTooltip | ( | ) | const |
Definition at line 1549 of file definition.cpp.
References p.
QCString DefinitionImpl::briefFile | ( | ) | const |
Definition at line 1559 of file definition.cpp.
References p.
Referenced by _setBriefDescription(), operator=(), and setBriefDescription().
int DefinitionImpl::briefLine | ( | ) | const |
Definition at line 1554 of file definition.cpp.
References p.
Referenced by _setBriefDescription(), operator=(), and setBriefDescription().
void DefinitionImpl::computeTooltip | ( | ) |
Definition at line 1538 of file definition.cpp.
References p, parseCommentAsText(), toMemberDef(), and Definition::TypeMember.
QCString DefinitionImpl::docFile | ( | ) | const |
Definition at line 1475 of file definition.cpp.
References p.
Referenced by _setDocumentation(), operator=(), setDocumentation(), and toDefinition().
int DefinitionImpl::docLine | ( | ) | const |
Definition at line 1470 of file definition.cpp.
References p.
Referenced by _setDocumentation(), operator=(), setDocumentation(), and toDefinition().
QCString DefinitionImpl::documentation | ( | ) | const |
Definition at line 1465 of file definition.cpp.
References p.
Definition at line 1775 of file definition.cpp.
References QCString::at(), end(), getReference(), QCString::isEmpty(), QCString::length(), QCString::prepend(), QCString::str(), and Doxygen::tagDestinationMap.
const Definition * DefinitionImpl::findInnerCompound | ( | const QCString & | name | ) | const |
Definition at line 1207 of file definition.cpp.
const FileDef * DefinitionImpl::getBodyDef | ( | ) | const |
Definition at line 1644 of file definition.cpp.
References p.
int DefinitionImpl::getDefColumn | ( | ) | const |
QCString DefinitionImpl::getDefFileExtension | ( | ) | const |
Definition at line 1589 of file definition.cpp.
References p.
QCString DefinitionImpl::getDefFileName | ( | ) | const |
Definition at line 1584 of file definition.cpp.
References p.
int DefinitionImpl::getDefLine | ( | ) | const |
int DefinitionImpl::getEndBodyLine | ( | ) | const |
Definition at line 1639 of file definition.cpp.
References p.
SrcLangExt DefinitionImpl::getLanguage | ( | ) | const |
Definition * DefinitionImpl::getOuterScope | ( | ) | const |
Definition at line 1663 of file definition.cpp.
References p.
Referenced by navigationPathAsString().
QCString DefinitionImpl::getReference | ( | ) | const |
const MemberVector & DefinitionImpl::getReferencedByMembers | ( | ) | const |
Definition at line 1680 of file definition.cpp.
References g_memberReferenceMutex, p, and refMapToVector().
const MemberVector & DefinitionImpl::getReferencesMembers | ( | ) | const |
Definition at line 1670 of file definition.cpp.
References g_memberReferenceMutex, p, and refMapToVector().
const SectionRefs & DefinitionImpl::getSectionRefs | ( | ) | const |
Definition at line 1453 of file definition.cpp.
References p.
QCString DefinitionImpl::getSourceAnchor | ( | ) | const |
Definition at line 915 of file definition.cpp.
References p, qsnprintf, and Htags::useHtags.
Referenced by writeSourceDef().
QCString DefinitionImpl::getSourceFileBase | ( | ) | const |
Definition at line 902 of file definition.cpp.
References ASSERT, Config_getBool, p, and Definition::TypeFile.
Referenced by writeSourceDef().
int DefinitionImpl::getStartBodyLine | ( | ) | const |
Definition at line 1634 of file definition.cpp.
References p.
int DefinitionImpl::getStartDefLine | ( | ) | const |
Definition at line 1629 of file definition.cpp.
References p.
bool DefinitionImpl::hasBriefDescription | ( | ) | const |
Definition at line 1769 of file definition.cpp.
References briefDescription(), Config_getBool, and QCString::isEmpty().
bool DefinitionImpl::hasDocumentation | ( | ) | const |
Definition at line 1167 of file definition.cpp.
References Config_getBool, and p.
bool DefinitionImpl::hasSections | ( | ) | const |
Definition at line 325 of file definition.cpp.
References FALSE, SectionType::isSection(), p, TRUE, and SectionInfo::type().
bool DefinitionImpl::hasSourceReffedBy | ( | ) | const |
Definition at line 1157 of file definition.cpp.
References p.
bool DefinitionImpl::hasSourceRefs | ( | ) | const |
Definition at line 1162 of file definition.cpp.
References p.
bool DefinitionImpl::hasSources | ( | ) | const |
Definition at line 1005 of file definition.cpp.
References p.
Referenced by writeInlineCode().
bool DefinitionImpl::hasUserDocumentation | ( | ) | const |
QCString DefinitionImpl::id | ( | ) | const |
QCString DefinitionImpl::inbodyDocumentation | ( | ) | const |
Definition at line 1566 of file definition.cpp.
References p.
QCString DefinitionImpl::inbodyFile | ( | ) | const |
Definition at line 1576 of file definition.cpp.
References p.
Referenced by _setInbodyDocumentation(), and setInbodyDocumentation().
int DefinitionImpl::inbodyLine | ( | ) | const |
Definition at line 1571 of file definition.cpp.
References p.
Referenced by _setInbodyDocumentation(), and setInbodyDocumentation().
bool DefinitionImpl::isAnonymous | ( | ) | const |
Definition at line 1802 of file definition.cpp.
References p.
bool DefinitionImpl::isArtificial | ( | ) | const |
Definition at line 1609 of file definition.cpp.
References p.
bool DefinitionImpl::isExported | ( | ) | const |
Definition at line 1614 of file definition.cpp.
References p.
bool DefinitionImpl::isHidden | ( | ) | const |
bool DefinitionImpl::isLinkableViaGroup | ( | ) | const |
Definition at line 1654 of file definition.cpp.
References partOfGroups().
bool DefinitionImpl::isReference | ( | ) | const |
Definition at line 1624 of file definition.cpp.
References p.
bool DefinitionImpl::isVisible | ( | ) | const |
Definition at line 1604 of file definition.cpp.
References p.
bool DefinitionImpl::isVisibleInProject | ( | ) | const |
Definition at line 1599 of file definition.cpp.
References p.
const QCString & DefinitionImpl::localName | ( | ) | const |
Definition at line 1276 of file definition.cpp.
References p.
Referenced by navigationPathAsString().
void DefinitionImpl::makePartOfGroup | ( | GroupDef * | gd | ) |
Definition at line 1281 of file definition.cpp.
References p.
void DefinitionImpl::mergeReferencedBy | ( | const Definition * | other | ) |
Definition at line 1706 of file definition.cpp.
References DefinitionImpl(), p, and Definition::toDefinitionImpl_().
void DefinitionImpl::mergeReferences | ( | const Definition * | other | ) |
Definition at line 1690 of file definition.cpp.
References DefinitionImpl(), p, and Definition::toDefinitionImpl_().
void DefinitionImpl::mergeRefItems | ( | Definition * | d | ) |
Definition at line 1291 of file definition.cpp.
References p, and Definition::xrefListItems().
const QCString & DefinitionImpl::name | ( | ) | const |
Definition at line 1797 of file definition.cpp.
References p.
Referenced by _setSymbolName(), _writeSourceRefList(), addToMap(), DefinitionImpl(), matchExcludedSymbols(), navigationPathAsString(), operator=(), removeFromMap(), setLocalName(), and setName().
QCString DefinitionImpl::navigationPathAsString | ( | ) | const |
Returns the string used in the footer for $navpath when GENERATE_TREEVIEW is enabled
Definition at line 1372 of file definition.cpp.
References addHtmlExtensionIfMissing(), convertToHtml(), getOuterScope(), Doxygen::globalScope, GroupDef::groupTitle(), localName(), name(), Definition::navigationPathAsString(), p, toFileDef(), toGroupDef(), toPageDef(), Definition::TypeClass, Definition::TypeFile, Definition::TypeGroup, and Definition::TypePage.
Referenced by writeNavigationPath().
DefinitionImpl & DefinitionImpl::operator= | ( | const DefinitionImpl & | d | ) |
Definition at line 261 of file definition.cpp.
References DefinitionImpl(), and p.
|
delete |
References abbreviate(), briefFile(), briefLine(), DefinitionImpl(), docFile(), docLine(), FALSE, name(), stripWhiteSpace(), and TRUE.
const GroupList & DefinitionImpl::partOfGroups | ( | ) | const |
QCString DefinitionImpl::pathFragment | ( | ) | const |
Definition at line 1334 of file definition.cpp.
References Doxygen::globalScope, GroupDef::groupTitle(), QCString::isEmpty(), p, PageDef::title(), toGroupDef(), toPageDef(), Definition::TypeGroup, and Definition::TypePage.
QCString DefinitionImpl::qualifiedName | ( | ) | const |
Definition at line 1219 of file definition.cpp.
References g_qualifiedNameMutex, getLanguage(), getLanguageSpecificSeparator(), and p.
void DefinitionImpl::setArtificial | ( | bool | b | ) |
void DefinitionImpl::setBodyDef | ( | const FileDef * | fd | ) |
void DefinitionImpl::setBodySegment | ( | int | defLine, |
int | bls, | ||
int | ble ) |
Definition at line 984 of file definition.cpp.
References BodyInfo::defLine, BodyInfo::endLine, p, and BodyInfo::startLine.
void DefinitionImpl::setBriefDescription | ( | const QCString & | b, |
const QCString & | briefFile, | ||
int | briefLine ) |
Definition at line 496 of file definition.cpp.
References _setBriefDescription(), briefFile(), briefLine(), and QCString::isEmpty().
void DefinitionImpl::setDefFile | ( | const QCString & | df, |
int | defLine, | ||
int | defColumn ) |
void DefinitionImpl::setDocumentation | ( | const QCString & | d, |
const QCString & | docFile, | ||
int | docLine, | ||
bool | stripWhiteSpace = TRUE ) |
Definition at line 433 of file definition.cpp.
References _setDocumentation(), docFile(), docLine(), FALSE, QCString::isEmpty(), and stripWhiteSpace().
void DefinitionImpl::setExported | ( | bool | b | ) |
void DefinitionImpl::setHidden | ( | bool | b | ) |
Definition at line 1733 of file definition.cpp.
References p.
void DefinitionImpl::setId | ( | const QCString & | name | ) |
Definition at line 287 of file definition.cpp.
References Doxygen::clangUsrMap, id(), and p.
void DefinitionImpl::setInbodyDocumentation | ( | const QCString & | d, |
const QCString & | docFile, | ||
int | docLine ) |
Definition at line 521 of file definition.cpp.
References _setInbodyDocumentation(), inbodyFile(), inbodyLine(), and QCString::isEmpty().
void DefinitionImpl::setLanguage | ( | SrcLangExt | lang | ) |
void DefinitionImpl::setLocalName | ( | const QCString & | name | ) |
void DefinitionImpl::setName | ( | const QCString & | name | ) |
void DefinitionImpl::setOuterScope | ( | Definition * | d | ) |
Definition at line 1255 of file definition.cpp.
References found, g_qualifiedNameMutex, Definition::getOuterScope(), Definition::isHidden(), and p.
void DefinitionImpl::setReference | ( | const QCString & | r | ) |
void DefinitionImpl::setRefItems | ( | const RefItemVector & | sli | ) |
Definition at line 1286 of file definition.cpp.
References p.
QCString DefinitionImpl::symbolName | ( | ) | const |
void DefinitionImpl::writeDocAnchorsToTagFile | ( | TextStream & | tagFile | ) | const |
Definition at line 340 of file definition.cpp.
References addHtmlExtensionIfMissing(), convertToXML(), SectionInfo::fileName(), SectionInfo::generated(), AnchorGenerator::instance(), QCString::isEmpty(), SectionInfo::label(), p, SectionInfo::ref(), QCString::str(), SectionInfo::title(), and Definition::TypeMember.
void DefinitionImpl::writeInlineCode | ( | OutputList & | ol, |
const QCString & | scopeName ) const |
Write code of this definition into the documentation
Definition at line 1013 of file definition.cpp.
References OutputList::codeGenerators(), Config_getBool, Define, FALSE, MemberDef::hasInlineSource(), hasSources(), MemberDef::memberType(), p, Doxygen::parserManager, OutputList::popGeneratorState(), OutputList::pushGeneratorState(), readCodeFragment(), OutputCodeList::startCodeFragment(), toMemberDef(), TRUE, and Definition::TypeMember.
void DefinitionImpl::writeNavigationPath | ( | OutputList & | ol | ) | const |
Definition at line 1429 of file definition.cpp.
References OutputList::disableAllBut(), Html, navigationPathAsString(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), and OutputList::writeNavigationPath().
void DefinitionImpl::writeQuickMemberLinks | ( | OutputList & | , |
const MemberDef * | ) const |
Definition at line 1817 of file definition.cpp.
void DefinitionImpl::writeSourceDef | ( | OutputList & | ol | ) | const |
Write a reference to the source code defining this definition
Definition at line 935 of file definition.cpp.
References OutputList::endParagraph(), err, QCString::find(), getSourceAnchor(), getSourceFileBase(), QCString::isEmpty(), QCString::left(), QCString::length(), QCString::mid(), p, OutputList::parseText(), QCString::right(), QCString::sprintf(), OutputList::startParagraph(), theTranslator, and OutputList::writeObjectLink().
void DefinitionImpl::writeSourceReffedBy | ( | OutputList & | ol, |
const QCString & | scopeName ) const |
Definition at line 1147 of file definition.cpp.
References _writeSourceRefList(), FALSE, p, and theTranslator.
void DefinitionImpl::writeSourceRefs | ( | OutputList & | ol, |
const QCString & | scopeName ) const |
Definition at line 1152 of file definition.cpp.
References _writeSourceRefList(), p, theTranslator, and TRUE.
void DefinitionImpl::writeSummaryLinks | ( | OutputList & | ) | const |
Definition at line 1821 of file definition.cpp.
void DefinitionImpl::writeToc | ( | OutputList & | ol, |
const LocalToc & | lt ) const |
Definition at line 1445 of file definition.cpp.
References p, and OutputList::writeLocalToc().
const RefItemVector & DefinitionImpl::xrefListItems | ( | ) | const |
Definition at line 1329 of file definition.cpp.
References p.
|
private |
Definition at line 143 of file definitionimpl.h.
Referenced by _getXRefListId(), _setBriefDescription(), _setInbodyDocumentation(), _setSymbolName(), _symbolName(), _writeSourceRefList(), addSectionsToDefinition(), addSourceReferencedBy(), addSourceReferences(), briefDescription(), briefDescriptionAsTooltip(), briefFile(), briefLine(), computeTooltip(), DefinitionImpl(), DefinitionImpl(), docFile(), docLine(), documentation(), getBodyDef(), getDefColumn(), getDefFileExtension(), getDefFileName(), getDefLine(), getEndBodyLine(), getLanguage(), getOuterScope(), getReference(), getReferencedByMembers(), getReferencesMembers(), getSectionRefs(), getSourceAnchor(), getSourceFileBase(), getStartBodyLine(), getStartDefLine(), hasDocumentation(), hasSections(), hasSourceReffedBy(), hasSourceRefs(), hasSources(), hasUserDocumentation(), inbodyDocumentation(), inbodyFile(), inbodyLine(), isAnonymous(), isArtificial(), isExported(), isHidden(), isReference(), isVisible(), isVisibleInProject(), localName(), makePartOfGroup(), mergeReferencedBy(), mergeReferences(), mergeRefItems(), name(), navigationPathAsString(), operator=(), partOfGroups(), pathFragment(), qualifiedName(), setArtificial(), setBodyDef(), setBodySegment(), setDefFile(), setExported(), setHidden(), setId(), setLanguage(), setLocalName(), setName(), setOuterScope(), setReference(), setRefItems(), symbolName(), toDefinition(), writeDocAnchorsToTagFile(), writeInlineCode(), writeSourceDef(), writeSourceReffedBy(), writeSourceRefs(), writeToc(), xrefListItems(), and ~DefinitionImpl().