Public Member Functions | |
XMLCodeGenerator (FTextStream &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 | writeTooltip (const char *, const DocLinkInfo &, const char *, const char *, const SourceLinkInfo &, const SourceLinkInfo &) |
void | startCodeLine (bool) |
void | endCodeLine () |
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 | setCurrentDoc (Definition *, const char *, bool) |
void | addWord (const char *, bool) |
void | finish () |
Public Member Functions inherited from CodeOutputInterface | |
virtual | ~CodeOutputInterface () |
Private Attributes | |
FTextStream & | m_t |
QCString | m_refId |
QCString | m_external |
int | m_lineNumber |
bool | m_isMemberRef |
int | m_col |
bool | m_insideCodeLine |
bool | m_normalHLNeedStartTag |
bool | m_insideSpecialHL |
Generator for producing XML formatted source code.
Definition at line 223 of file xmlgen.cpp.
|
inline |
Definition at line 227 of file xmlgen.cpp.
|
inlinevirtual |
Definition at line 229 of file xmlgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
Writes an code fragment 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 231 of file xmlgen.cpp.
|
inlinevirtual |
Ends a line of code started with startCodeLine()
Implements CodeOutputInterface.
Definition at line 288 of file xmlgen.cpp.
|
inlinevirtual |
Ends a block started with startFontClass()
Implements CodeOutputInterface.
Definition at line 313 of file xmlgen.cpp.
|
inline |
Definition at line 345 of file xmlgen.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Starts a block with a certain meaning. Used for syntax highlighting, which elements of the same type are rendered using the same 'font class'.
clsName | The category name. |
Implements CodeOutputInterface.
Definition at line 302 of file xmlgen.cpp.
|
inlinevirtual |
Write an anchor to a source listing.
name | The name of the anchor. |
Implements CodeOutputInterface.
Definition at line 319 of file xmlgen.cpp.
|
inlinevirtual |
Writes a link to an object in a code fragment.
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 241 of file xmlgen.cpp.
|
inlinevirtual |
Writes the line number of a source listing
ref | External reference (when imported from a tag file) |
file | The file part of the URL pointing to the docs. |
anchor | The anchor part of the URL pointing to the docs. |
lineNumber | The line number to write |
Implements CodeOutputInterface.
Definition at line 323 of file xmlgen.cpp.
|
inlinevirtual |
Writes a tool tip definition
id | unique identifier for the tooltip |
docInfo | Info about the symbol's documentation. |
decl | full declaration of the symbol (for functions) |
desc | brief description for the symbol |
defInfo | Info about the symbol's definition in the source code |
declInfo | Info about the symbol's declaration in the source code |
Implements CodeOutputInterface.
Definition at line 254 of file xmlgen.cpp.
|
private |
Definition at line 356 of file xmlgen.cpp.
|
private |
Definition at line 353 of file xmlgen.cpp.
|
private |
Definition at line 358 of file xmlgen.cpp.
|
private |
Definition at line 360 of file xmlgen.cpp.
|
private |
Definition at line 355 of file xmlgen.cpp.
|
private |
Definition at line 354 of file xmlgen.cpp.
|
private |
Definition at line 359 of file xmlgen.cpp.
|
private |
Definition at line 352 of file xmlgen.cpp.
|
private |
Definition at line 351 of file xmlgen.cpp.