XMLCodeGenerator Class Reference

Inheritance diagram for XMLCodeGenerator:

CodeOutputInterface List of all members.

Public Member Functions

 XMLCodeGenerator (QTextStream &t)
virtual ~XMLCodeGenerator ()
void codify (const char *text)
void writeCodeLink (const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip)
void startCodeLine ()
void endCodeLine ()
void startCodeAnchor (const char *id)
void endCodeAnchor ()
void startFontClass (const char *colorClass)
void endFontClass ()
void writeCodeAnchor (const char *)
void writeLineNumber (const char *extRef, const char *compId, const char *anchorId, int l)
void linkableSymbol (int, const char *, Definition *, Definition *)
void finish ()

Detailed Description

Definition at line 271 of file xmlgen.cpp.


Constructor & Destructor Documentation

XMLCodeGenerator::XMLCodeGenerator ( QTextStream &  t  )  [inline]

Definition at line 275 of file xmlgen.cpp.

virtual XMLCodeGenerator::~XMLCodeGenerator (  )  [inline, virtual]

Definition at line 278 of file xmlgen.cpp.


Member Function Documentation

void XMLCodeGenerator::codify ( const char *  text  )  [inline, virtual]

Writes an ASCII string to the output. This function should keep spaces visible, should break lines at a newline and should convert tabs to the right number of spaces.

Implements CodeOutputInterface.

Definition at line 280 of file xmlgen.cpp.

References writeXMLCodeString(), and XML_DB.

void XMLCodeGenerator::writeCodeLink ( const char *  ref,
const char *  file,
const char *  anchor,
const char *  name,
const char *  tooltip 
) [inline, virtual]

Writes a link to an object in a code fragment.

Parameters:
ref If this is non-zero, the object is to be found in an external documentation file.
file The file in which the object is located.
anchor The anchor uniquely identifying the object within the file.
name The text to display as a placeholder for the link.
tooltip The tooltip to display when the mouse is on the link.

Implements CodeOutputInterface.

Definition at line 290 of file xmlgen.cpp.

References writeXMLLink(), and XML_DB.

void XMLCodeGenerator::startCodeLine (  )  [inline, virtual]

Implements CodeOutputInterface.

Definition at line 303 of file xmlgen.cpp.

References XML_DB.

void XMLCodeGenerator::endCodeLine (  )  [inline, virtual]

Implements CodeOutputInterface.

Definition at line 331 of file xmlgen.cpp.

References XML_DB.

Referenced by finish().

void XMLCodeGenerator::startCodeAnchor ( const char *  id  )  [inline, virtual]

Implements CodeOutputInterface.

Definition at line 345 of file xmlgen.cpp.

References XML_DB.

void XMLCodeGenerator::endCodeAnchor (  )  [inline, virtual]

Implements CodeOutputInterface.

Definition at line 355 of file xmlgen.cpp.

References XML_DB.

void XMLCodeGenerator::startFontClass ( const char *  colorClass  )  [inline, virtual]

Implements CodeOutputInterface.

Definition at line 360 of file xmlgen.cpp.

References XML_DB.

void XMLCodeGenerator::endFontClass (  )  [inline, virtual]

Implements CodeOutputInterface.

Definition at line 371 of file xmlgen.cpp.

References XML_DB.

void XMLCodeGenerator::writeCodeAnchor ( const char *   )  [inline, virtual]

Implements CodeOutputInterface.

Definition at line 377 of file xmlgen.cpp.

References XML_DB.

void XMLCodeGenerator::writeLineNumber ( const char *  extRef,
const char *  compId,
const char *  anchorId,
int  l 
) [inline, virtual]

Implements CodeOutputInterface.

Definition at line 381 of file xmlgen.cpp.

References QCString, and XML_DB.

void XMLCodeGenerator::linkableSymbol ( int  ,
const char *  ,
Definition ,
Definition  
) [inline, virtual]

Implements CodeOutputInterface.

Definition at line 396 of file xmlgen.cpp.

void XMLCodeGenerator::finish (  )  [inline]

Definition at line 400 of file xmlgen.cpp.

References endCodeLine().

Referenced by writeXMLCodeBlock().


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



Generated on Mon Mar 31 10:59:17 2008 by  doxygen 1.5.1