|
My Project
|
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.
References m_col, m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, writeXMLCodeString(), and XML_DB.
|
inlinevirtual |
Ends a line of code started with startCodeLine()
Implements CodeOutputInterface.
Definition at line 288 of file xmlgen.cpp.
References endl(), m_external, m_insideCodeLine, m_insideSpecialHL, m_lineNumber, m_normalHLNeedStartTag, m_refId, m_t, and XML_DB.
Referenced by finish().
|
inlinevirtual |
Ends a block started with startFontClass()
Implements CodeOutputInterface.
Definition at line 313 of file xmlgen.cpp.
References m_insideSpecialHL, m_t, and XML_DB.
|
inline |
Definition at line 345 of file xmlgen.cpp.
References endCodeLine(), and m_insideCodeLine.
Referenced by writeXMLCodeBlock().
|
inlinevirtual |
|
inlinevirtual |
Implements CodeOutputInterface.
Definition at line 260 of file xmlgen.cpp.
References m_col, m_external, m_insideCodeLine, m_isMemberRef, m_lineNumber, m_refId, m_t, and XML_DB.
|
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.
References m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, and XML_DB.
|
inlinevirtual |
Write an anchor to a source listing.
| name | The name of the anchor. |
Implements CodeOutputInterface.
Definition at line 319 of file xmlgen.cpp.
References XML_DB.
|
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.
References m_col, m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, writeXMLLink(), and XML_DB.
|
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.
References m_external, m_isMemberRef, m_lineNumber, m_refId, and XML_DB.
|
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.
References XML_DB.
|
private |
Definition at line 356 of file xmlgen.cpp.
Referenced by codify(), startCodeLine(), and writeCodeLink().
|
private |
Definition at line 353 of file xmlgen.cpp.
Referenced by endCodeLine(), startCodeLine(), and writeLineNumber().
|
private |
Definition at line 358 of file xmlgen.cpp.
Referenced by codify(), endCodeLine(), finish(), startCodeLine(), startFontClass(), and writeCodeLink().
|
private |
Definition at line 360 of file xmlgen.cpp.
Referenced by codify(), endCodeLine(), endFontClass(), startFontClass(), and writeCodeLink().
|
private |
Definition at line 355 of file xmlgen.cpp.
Referenced by startCodeLine(), and writeLineNumber().
|
private |
Definition at line 354 of file xmlgen.cpp.
Referenced by endCodeLine(), startCodeLine(), and writeLineNumber().
|
private |
Definition at line 359 of file xmlgen.cpp.
Referenced by codify(), endCodeLine(), startFontClass(), and writeCodeLink().
|
private |
Definition at line 352 of file xmlgen.cpp.
Referenced by endCodeLine(), startCodeLine(), and writeLineNumber().
|
private |
Definition at line 351 of file xmlgen.cpp.
Referenced by codify(), endCodeLine(), endFontClass(), startCodeLine(), startFontClass(), and writeCodeLink().