37 #define DEFINE_CLS_IMPL(cls) \ 38 class cls##Impl : public I##cls, public DocImpl { public: virtual ~cls##Impl() {} } 90 : m_text(t), m_markup(markup), m_headingLevel(level) {}
96 virtual int markup()
const {
return m_markup; }
114 : m_markup(markup), m_enabled(enabled), m_headingLevel(
level) {}
119 virtual bool enabled()
const {
return m_enabled; }
120 virtual int markup()
const {
return m_markup; }
140 int markup()
const {
return m_curMarkup; }
144 virtual void endBold();
146 virtual void endEmphasis();
148 virtual void endComputerOutput();
150 virtual void endCenter();
152 virtual void endSmallFont();
154 virtual void endSubscript();
156 virtual void endSuperscript();
158 virtual void endPreformatted();
160 virtual void endHeading1();
162 virtual void endHeading2();
164 virtual void endHeading3();
166 virtual void endHeading4();
168 virtual void endHeading5();
170 virtual void endHeading6();
203 virtual void endParagraph();
271 virtual void endListItem();
303 virtual void endOrderedList();
334 virtual void endTocList();
360 friend class TocItemIterator;
365 virtual void endTocItem();
390 virtual void endItemizedList();
421 virtual void endParameterName();
445 virtual void endParameterItem();
480 virtual void endParameterList();
634 virtual TargetKind
targetKind()
const {
return m_targetKind; }
696 virtual void endSimpleSect();
702 virtual Types
type()
const {
return m_type; }
725 virtual void endVarListEntry();
727 virtual void endListItem();
729 virtual void endTerm();
760 virtual void endVariableList();
836 virtual void endLineNumber();
876 virtual void endProgramListing();
1012 void endIndexEntry();
1014 void endPrimaryIE();
1016 void endSecondaryIE();
1143 virtual void endCopy();
1178 virtual Types
type()
const {
return m_type; }
1203 virtual Types
type()
const {
return m_type; }
1205 virtual char letter()
const {
return m_letter; }
1229 virtual void endDocSection();
1238 virtual int level()
const {
return m_level; }
1278 virtual void endInternal();
1320 virtual void endDoc();
virtual Kind kind() const
QList< DocImpl > m_subsections
QList< DocImpl > m_children
virtual IDocPara * description() const
Node representing a list item.
virtual Types sectType() const
virtual Kind kind() const
Node representing an entry in the table entry.
virtual Kind kind() const
Read only interface to a string.
virtual const IString * caption() const
virtual const IString * caption() const
virtual Kind kind() const
virtual Kind kind() const
HighlightIterator(const HighlightHandler &handler)
virtual Kind kind() const
QList< ParameterHandler > m_parameters
Node representing an preformatted section.
virtual Kind kind() const
QList< VariableListEntryHandler > m_entries
virtual int headingLevel() const
virtual Kind kind() const
TableIterator(const TableHandler &handler)
#define DEFINE_CLS_IMPL(cls)
virtual const IString * external() const
LinkedTextHandler * m_linkedTextHandler
virtual const IString * caption() const
Handles markup commands in the XML input.
Node representing list of items.
QList< CodeLineHandler > m_children
virtual const IString * url() const
static void startCodeLine()
virtual int lineNumber() const
Node representing a line of code.
virtual const IString * address() const
OrderedListIterator(const OrderedListHandler &handler)
Node representing a list of named items.
QList< EntryHandler > m_children
RowIterator(const RowHandler &handler)
virtual Kind kind() const
virtual const IString * title() const
QList< DocImpl > m_children
DocInternalHandler * m_internal
virtual char letter() const
QList< DocImpl > m_paragraphs
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
virtual Types type() const
Node representing a paragraph of text and commands.
virtual Kind kind() const
ParameterItemIterator(const ParameterItemHandler &handler)
virtual ~MarkupModifierNode()
TitleIterator(const TitleHandler &handler)
virtual int markup() const
virtual const IString * primary() const
QList< DocImpl > m_paragraphs
virtual Kind kind() const
QList< DocImpl > m_children
virtual const IString * id() const
Node representing a parameter.
QList< DocImpl > m_children
virtual bool enabled() const
QList< DocImpl > m_children
virtual Kind kind() const
DocIterator(const DocHandler &handler)
Node representing a change in the markup style.
static void startTable(FTextStream &t, const QCString &className)
virtual IDocPara * description() const
virtual Kind kind() const
VariableListIterator(const VariableListHandler &handler)
Node representing an entry in the table.
virtual const IString * id() const
ParagraphIterator(const ParagraphHandler &handler)
DocInternalParaIterator(const DocInternalHandler &handler)
virtual Kind kind() const
CodeLineIterator(const CodeLineHandler &handler)
TocListIterator(const TocListHandler &handler)
Node representing a dot file.
virtual Kind kind() const
Node representing an entry in the index.
virtual Kind kind() const
QList< DocImpl > m_children
CopyIterator(const CopyHandler &handler)
QList< DocImpl > & m_children
virtual const IString * text() const
QList< DocImpl > m_subsections
DocSectionParaIterator(const DocSectionHandler &handler)
virtual const IString * text() const
virtual Kind kind() const
DocInternalSubIterator(const DocInternalHandler &handler)
QList< DocImpl > m_children
virtual Kind kind() const
Node representing a documentation block.
virtual const IString * name() const
Node representing table of contents list.
virtual Kind kind() const
QList< LinkedTextImpl > m_term
virtual const IString * name() const
QList< DocImpl > m_children
MarkupHandler * m_markupHandler
Node representing a table of contents item.
ProgramListingIterator(const ProgramListingHandler &handler)
virtual Kind kind() const
virtual Kind kind() const
virtual IDocPara * description() const
QList< DocImpl > m_children
virtual const IString * name() const
virtual HighlightKind highlightKind() const
virtual Kind kind() const
virtual TargetKind targetKind() const
virtual int numColumns() const
static void endCodeLine()
virtual Kind kind() const
ParameterListIterator(const ParameterListHandler &handler)
Iterates over a list of ILinkedText fragments.
virtual const IString * id() const
virtual Kind kind() const
ParagraphHandler * m_description
QList< DocImpl > m_children
virtual const IString * refId() const
void startTitle(OutputList &ol, const char *fileName, Definition *def)
virtual int level() const
virtual Kind kind() const
Node representing an image.
virtual Types type() const
VariableListEntryHandler * m_curEntry
virtual IDocTitle * title() const
virtual Kind kind() const
MarkupModifierNode(int markup, bool enabled, int level=0)
DocSectionSubIterator(const DocSectionHandler &handler)
DocInternalHandler * m_internal
EntryIterator(const EntryHandler &handler)
virtual const IString * text() const
Node representing list of items.
Node representing a piece of text.
virtual Types type() const
virtual Kind kind() const
QList< RowHandler > m_children
The QXmlAttributes class provides XML attributes.
virtual IDocTitle * title() const
ItemizedListIterator(const ItemizedListHandler &handler)
ParagraphHandler * m_paragraph
static msg_handler handler
virtual Kind kind() const
QList< DocImpl > m_children
void endTitle(OutputList &ol, const char *fileName, const char *name)
virtual Kind kind() const
ParagraphHandler * m_description
virtual const IString * secondary() const
Node representing a highlighted text fragment.
virtual Kind kind() const
virtual const IString * text() const
QList< ParameterItemHandler > m_paramItems
virtual const IString * refId() const
ListItemIterator(const ListItemHandler &handler)
Node representing a copied piece of documentation.
virtual const IString * refId() const
Node representing a program listing.
virtual Kind kind() const
Node representing an anchor.
virtual int markup() const
Node representing an entry in the table row.
MarkupHandler * m_markupHandler
virtual int headingLevel() const
Node representing an special symbol.
virtual const IString * text() const
def parent(G, child, parent_type)
virtual Kind kind() const
virtual const IString * typeString() const
virtual Kind kind() const
The interface to the object model provided by the XML parser library.
Node representing a section.
virtual Kind kind() const
virtual Kind kind() const
TextNode(const QString &t, int markup, int level)
virtual Kind kind() const
virtual const IString * typeString() const
virtual Kind kind() const