The DocRef
Class Reference
Node representing a reference to some item. More...
Declaration
Included Headers
Base class
class | DocCompoundNode |
Base class for nodes with children. More... | |
Public Constructors Index
DocRef (DocParser *parser, DocNodeVariant *parent, const QCString &target, const QCString &context) | |
Public Member Functions Index
void | parse () |
QCString | file () const |
QCString | relPath () const |
QCString | ref () const |
QCString | anchor () const |
QCString | targetTitle () const |
SectionType | sectionType () const |
bool | hasLinkText () const |
bool | refToAnchor () const |
bool | refToSection () const |
bool | refToTable () const |
bool | isSubPage () const |
Private Member Attributes Index
RefType | m_refType = Unknown |
SectionType | m_sectionType = SectionType::Anchor |
bool | m_isSubPage = false |
QCString | m_file |
QCString | m_relPath |
QCString | m_ref |
QCString | m_anchor |
QCString | m_text |
Description
Node representing a reference to some item.
Definition at line 777 of file docnode.h.
Public Constructors
DocRef()
|
Declaration at line 780 of file docnode.h, definition at line 705 of file docnode.cpp.
References DocNode::Anchor, SectionType::Anchor, anchor, ASSERT, AUTO_TRACE, AUTO_TRACE_EXIT, Config_getBool, Definition::definitionType, DocCompoundNode::DocCompoundNode, FALSE, SectionInfo::fileName, LinkedMap< T, Hash, KeyEqual, Map >::find, MemberDef::getClassDef, getLanguageFromFileName, Definition::getOutputFileBase, Definition::getReference, Definition::getSourceFileBase, PageDef::hasParentPage, SectionManager::instance, QCString::isEmpty, Definition::isLinkable, SectionInfo::label, SectionType::level, linkToText, m_anchor, m_file, m_isSubPage, m_ref, m_refType, m_relPath, m_sectionType, m_text, markdownFileNameToId, Definition::name, MemberDef::objCMethodName, SectionType::Page, Doxygen::pageLinkedMap, DocNode::parent, DocNode::parser, SectionInfo::ref, resolveLink, DocNode::Section, stripKnownExtensions, stripScope, DocNode::Table, SectionType::Table, SectionInfo::title, toFileDef, toGroupDef, toMemberDef, TRUE, SectionInfo::type, Definition::TypeFile, Definition::TypeGroup, Definition::TypeMember, Definition::TypePage, DocNode::Unknown and warn_doc_error.
Public Member Functions
anchor()
| inline |
Definition at line 785 of file docnode.h.
Reference m_anchor.
Referenced by convertMapFile, DocRef, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), PrintDocVisitor::operator(), RTFDocVisitor::operator(), XmlDocVisitor::operator(), replaceRef and LayoutNavEntry::url.
file()
| inline |
Definition at line 782 of file docnode.h.
Reference m_file.
Referenced by convertMapFile, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), PrintDocVisitor::operator(), RTFDocVisitor::operator(), XmlDocVisitor::operator(), replaceRef and LayoutNavEntry::url.
hasLinkText()
| inline |
Definition at line 788 of file docnode.h.
References DocCompoundNode::children and GrowVector< T >::empty.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), PerlModDocVisitor::operator(), PrintDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
isSubPage()
| inline |
Definition at line 792 of file docnode.h.
Reference m_isSubPage.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
parse()
|
Declaration at line 781 of file docnode.h, definition at line 857 of file docnode.cpp.
References AUTO_TRACE, DocCompoundNode::children, DocParser::context, DocParser::errorHandleDefaultToken, FALSE, flattenParagraphs, DocParser::handlePendingStyleCommands, DocParserContext::insideHtmlLink, DocParser::internalValidatingParseDoc, Token::is_any_of, DocTokenizer::lex, m_anchor, m_text, DocNode::parser, DocParser::popContext, DocParser::pushContext, DocTokenizer::setStatePara, DocNode::thisVariant, DocParser::tokenizer, TRUE, Token::value and warn_doc_error.
ref()
| inline |
Definition at line 784 of file docnode.h.
Reference m_ref.
Referenced by convertMapFile, HtmlDocVisitor::operator(), LatexDocVisitor::operator(), PrintDocVisitor::operator(), RTFDocVisitor::operator(), XmlDocVisitor::operator(), replaceRef and LayoutNavEntry::url.
refToAnchor()
| inline |
Definition at line 789 of file docnode.h.
References DocNode::Anchor and m_refType.
Referenced by PrintDocVisitor::operator().
refToSection()
| inline |
Definition at line 790 of file docnode.h.
References m_refType and DocNode::Section.
Referenced by LatexDocVisitor::operator() and PrintDocVisitor::operator().
refToTable()
| inline |
Definition at line 791 of file docnode.h.
References m_refType and DocNode::Table.
Referenced by LatexDocVisitor::operator() and PrintDocVisitor::operator().
relPath()
| inline |
sectionType()
| inline |
Definition at line 787 of file docnode.h.
Reference m_sectionType.
Referenced by LatexDocVisitor::operator().
targetTitle()
| inline |
Definition at line 786 of file docnode.h.
Reference m_text.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), PerlModDocVisitor::operator(), PrintDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
Private Member Attributes
m_anchor
|
m_file
|
m_isSubPage
|
Definition at line 797 of file docnode.h.
m_ref
|
m_refType
|
Definition at line 795 of file docnode.h.
Referenced by DocRef, refToAnchor, refToSection and refToTable.
m_relPath
|
m_sectionType
|
Definition at line 796 of file docnode.h.
Referenced by DocRef and sectionType.
m_text
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.