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

Node representing a word. More...

#include <src/docnode.h>

+ Inheritance diagram for DocWord:
+ Collaboration diagram for DocWord:

Public Member Functions

 DocWord (DocParser *parser, DocNodeVariant *parent, const QCString &word)
 
QCString word () 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
 

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.

Definition at line 151 of file docnode.h.

Constructor & Destructor Documentation

◆ DocWord()

DocWord::DocWord ( DocParser * parser,
DocNodeVariant * parent,
const QCString & word )

Definition at line 179 of file docnode.cpp.

179 :
181{
182 //printf("new word %s url=%s\n",qPrint(word),qPrint(parser->context.searchUrl));
183 if (Doxygen::searchIndex.enabled() && !parser->context.searchUrl.isEmpty())
184 {
186 }
187}
DocNode(DocParser *parser, DocNodeVariant *parent)
Definition docnode.h:84
DocParser * parser()
Definition docnode.h:97
DocNodeVariant * parent()
Definition docnode.h:89
QCString m_word
Definition docnode.h:158
QCString word() const
Definition docnode.h:155
static SearchIndexIntf searchIndex
Definition doxygen.h:124
void addWord(const QCString &word, bool hiPriority)

References DocNode::DocNode(), m_word, DocNode::parent(), DocNode::parser(), Doxygen::searchIndex, and word().

Member Function Documentation

◆ word()

Member Data Documentation

◆ m_word

QCString DocWord::m_word
private

Definition at line 158 of file docnode.h.

Referenced by DocWord(), and word().


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