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

Implements TextGeneratorIntf for an XML stream. More...

+ Inheritance diagram for TextGeneratorXMLImpl:
+ Collaboration diagram for TextGeneratorXMLImpl:

Public Member Functions

 TextGeneratorXMLImpl (TextStream &t)
 
void writeString (std::string_view s, bool) const override
 
void writeBreak (int) const override
 
void writeLink (const QCString &extRef, const QCString &file, const QCString &anchor, std::string_view text) const override
 
- Public Member Functions inherited from TextGeneratorIntf

Private Attributes

TextStreamm_t
 

Detailed Description

Implements TextGeneratorIntf for an XML stream.

Definition at line 174 of file xmlgen.cpp.

Constructor & Destructor Documentation

◆ TextGeneratorXMLImpl()

TextGeneratorXMLImpl::TextGeneratorXMLImpl ( TextStream & t)
inline

Definition at line 177 of file xmlgen.cpp.

177: m_t(t) {}
TextStream & m_t
Definition xmlgen.cpp:190

References m_t.

Member Function Documentation

◆ writeBreak()

void TextGeneratorXMLImpl::writeBreak ( int ) const
inlineoverridevirtual

Implements TextGeneratorIntf.

Definition at line 182 of file xmlgen.cpp.

182{}

◆ writeLink()

void TextGeneratorXMLImpl::writeLink ( const QCString & extRef,
const QCString & file,
const QCString & anchor,
std::string_view text ) const
inlineoverridevirtual

Implements TextGeneratorIntf.

Definition at line 183 of file xmlgen.cpp.

186 {
187 writeXMLLink(m_t,extRef,file,anchor,QCString(text),QCString());
188 }
void writeXMLLink(TextStream &t, const QCString &extRef, const QCString &compoundId, const QCString &anchorId, const QCString &text, const QCString &tooltip)
Definition xmlgen.cpp:158

References m_t, and writeXMLLink().

◆ writeString()

void TextGeneratorXMLImpl::writeString ( std::string_view s,
bool  ) const
inlineoverridevirtual

Implements TextGeneratorIntf.

Definition at line 178 of file xmlgen.cpp.

179 {
180 writeXMLString(m_t,QCString(s));
181 }
void writeXMLString(TextStream &t, const QCString &s)
Definition xmlgen.cpp:64

References m_t, and writeXMLString().

Member Data Documentation

◆ m_t

TextStream& TextGeneratorXMLImpl::m_t
private

Definition at line 190 of file xmlgen.cpp.

Referenced by TextGeneratorXMLImpl(), writeLink(), and writeString().


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