Doxygen
Loading...
Searching...
No Matches
DocLinkedWord Class Reference

Node representing a word that can be linked to something. More...

#include <src/docnode.h>

+ Inheritance diagram for DocLinkedWord:
+ Collaboration diagram for DocLinkedWord:

Public Member Functions

 DocLinkedWord (DocParser *parser, DocNodeVariant *parent, const QCString &word, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &tooltip)
 
QCString word () const
 
QCString file () const
 
QCString relPath () const
 
QCString ref () const
 
QCString anchor () const
 
QCString tooltip () const
 
- Public Member Functions inherited from DocNode
 DocNode (DocParser *parser, DocNodeVariant *parent)
 
 ~DocNode ()=default
 
DocNodeVariantparent ()
 
const DocNodeVariantparent () const
 
DocNodeVariantthisVariant ()
 
const DocNodeVariantthisVariant () const
 
void setThisVariant (DocNodeVariant *thisVariant)
 
DocParserparser ()
 
const DocParserparser () const
 
void setParent (DocNodeVariant *parent)
 
bool isPreformatted () const
 

Private Attributes

QCString m_word
 
QCString m_ref
 
QCString m_file
 
QCString m_relPath
 
QCString m_anchor
 
QCString m_tooltip
 

Additional Inherited Members

- Protected Types inherited from DocNode
enum  RefType { Unknown , Anchor , Section , Table }
 
- Protected Member Functions inherited from DocNode
void setInsidePreformatted (bool p)
 

Detailed Description

Node representing a word that can be linked to something.

Definition at line 163 of file docnode.h.

Constructor & Destructor Documentation

◆ DocLinkedWord()

DocLinkedWord::DocLinkedWord ( DocParser * parser,
DocNodeVariant * parent,
const QCString & word,
const QCString & ref,
const QCString & file,
const QCString & anchor,
const QCString & tooltip )

Definition at line 191 of file docnode.cpp.

193 :
195 m_file(file), m_relPath(parser->context.relPath), m_anchor(anchor),
197{
198 //printf("DocLinkedWord: new word %s url=%s tooltip='%s'\n",
199 // qPrint(word),qPrint(parser->context.searchUrl),qPrint(tooltip));
200 if (Doxygen::searchIndex.enabled() && !parser->context.searchUrl.isEmpty())
201 {
203 }
204}
QCString m_word
Definition docnode.h:177
QCString m_anchor
Definition docnode.h:181
QCString file() const
Definition docnode.h:170
QCString ref() const
Definition docnode.h:172
QCString word() const
Definition docnode.h:169
QCString m_file
Definition docnode.h:179
QCString anchor() const
Definition docnode.h:173
QCString m_ref
Definition docnode.h:178
QCString m_relPath
Definition docnode.h:180
QCString m_tooltip
Definition docnode.h:182
QCString tooltip() const
Definition docnode.h:174
DocNode(DocParser *parser, DocNodeVariant *parent)
Definition docnode.h:84
DocParser * parser()
Definition docnode.h:97
DocNodeVariant * parent()
Definition docnode.h:89
static SearchIndexIntf searchIndex
Definition doxygen.h:124
void addWord(const QCString &word, bool hiPriority)

References anchor(), DocNode::DocNode(), file(), m_anchor, m_file, m_ref, m_relPath, m_tooltip, m_word, DocNode::parent(), DocNode::parser(), ref(), relPath(), Doxygen::searchIndex, tooltip(), and word().

Member Function Documentation

◆ anchor()

◆ file()

◆ ref()

QCString DocLinkedWord::ref ( ) const
inline

◆ relPath()

QCString DocLinkedWord::relPath ( ) const
inline

Definition at line 171 of file docnode.h.

171{ return m_relPath; }

References m_relPath.

Referenced by DocLinkedWord(), and HtmlDocVisitor::operator()().

◆ tooltip()

QCString DocLinkedWord::tooltip ( ) const
inline

Definition at line 174 of file docnode.h.

174{ return m_tooltip; }

References m_tooltip.

Referenced by DocLinkedWord(), and HtmlDocVisitor::operator()().

◆ word()

Member Data Documentation

◆ m_anchor

QCString DocLinkedWord::m_anchor
private

Definition at line 181 of file docnode.h.

Referenced by anchor(), and DocLinkedWord().

◆ m_file

QCString DocLinkedWord::m_file
private

Definition at line 179 of file docnode.h.

Referenced by DocLinkedWord(), and file().

◆ m_ref

QCString DocLinkedWord::m_ref
private

Definition at line 178 of file docnode.h.

Referenced by DocLinkedWord(), and ref().

◆ m_relPath

QCString DocLinkedWord::m_relPath
private

Definition at line 180 of file docnode.h.

Referenced by DocLinkedWord(), and relPath().

◆ m_tooltip

QCString DocLinkedWord::m_tooltip
private

Definition at line 182 of file docnode.h.

Referenced by DocLinkedWord(), and tooltip().

◆ m_word

QCString DocLinkedWord::m_word
private

Definition at line 177 of file docnode.h.

Referenced by DocLinkedWord(), and word().


The documentation for this class was generated from the following files: