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

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 DString &word, const DString &ref, const DString &file, const DString &anchor, const DString &tooltip)
DString word () const
DString file () const
DString relPath () const
DString ref () const
DString anchor () const
DString 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

DString m_word
DString m_ref
DString m_file
DString m_relPath
DString m_anchor
DString m_tooltip

Additional Inherited Members

Protected Types inherited from DocNode
enum  RefType {
  Unknown , Anchor , Section , Table ,
  Requirement
}
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 164 of file docnode.h.

Constructor & Destructor Documentation

◆ DocLinkedWord()

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

Definition at line 196 of file docnode.cpp.

198 :
202{
203 //printf("DocLinkedWord: new word %s url=%s tooltip='%s'\n",
204 // qPrint(word),qPrint(parser->context.searchUrl),qPrint(tooltip));
206 {
208 }
209}
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
Definition dstring.h:153
DString word() const
Definition docnode.h:170
DString m_file
Definition docnode.h:180
DString m_relPath
Definition docnode.h:181
DString m_tooltip
Definition docnode.h:183
DString m_ref
Definition docnode.h:179
DString m_anchor
Definition docnode.h:182
DString anchor() const
Definition docnode.h:174
DString ref() const
Definition docnode.h:173
DString tooltip() const
Definition docnode.h:175
DString m_word
Definition docnode.h:178
DString file() const
Definition docnode.h:171
DocNode(DocParser *parser, DocNodeVariant *parent)
Definition docnode.h:85
DocParser * parser()
Definition docnode.h:98
DocNodeVariant * parent()
Definition docnode.h:90
DocParserContext context
static SearchIndexIntf searchIndex
Definition doxygen.h:124
void addWord(const DString &word, bool hiPriority)

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

Member Function Documentation

◆ anchor()

◆ file()

◆ ref()

DString DocLinkedWord::ref ( ) const
inline

◆ relPath()

DString DocLinkedWord::relPath ( ) const
inline

Definition at line 172 of file docnode.h.

172{ return m_relPath; }

References m_relPath.

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

◆ tooltip()

DString DocLinkedWord::tooltip ( ) const
inline

Definition at line 175 of file docnode.h.

175{ return m_tooltip; }

References m_tooltip.

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

◆ word()

Member Data Documentation

◆ m_anchor

DString DocLinkedWord::m_anchor
private

Definition at line 182 of file docnode.h.

Referenced by anchor(), and DocLinkedWord().

◆ m_file

DString DocLinkedWord::m_file
private

Definition at line 180 of file docnode.h.

Referenced by DocLinkedWord(), and file().

◆ m_ref

DString DocLinkedWord::m_ref
private

Definition at line 179 of file docnode.h.

Referenced by DocLinkedWord(), and ref().

◆ m_relPath

DString DocLinkedWord::m_relPath
private

Definition at line 181 of file docnode.h.

Referenced by DocLinkedWord(), and relPath().

◆ m_tooltip

DString DocLinkedWord::m_tooltip
private

Definition at line 183 of file docnode.h.

Referenced by DocLinkedWord(), and tooltip().

◆ m_word

DString DocLinkedWord::m_word
private

Definition at line 178 of file docnode.h.

Referenced by DocLinkedWord(), and word().


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