38 m_map.
insert(
"warning", SimpleSectHandler::Warning);
40 m_map.
insert(
"deprecated",SimpleSectHandler::Deprecated);
43 m_map.
insert(
"invariant", SimpleSectHandler::Invar);
45 m_map.
insert(
"attention", SimpleSectHandler::Attention);
49 m_map.
insert(
"enumvalues",SimpleSectHandler::EnumValues);
50 m_map.
insert(
"examples", SimpleSectHandler::Examples);
54 return m_map[typeStr];
67 m_map.
insert(
"keywordtype", HighlightHandler::KeywordType);
68 m_map.
insert(
"keywordflow", HighlightHandler::KeywordFlow);
69 m_map.
insert(
"charliteral", HighlightHandler::CharLiteral);
70 m_map.
insert(
"stringliteral", HighlightHandler::StringLiteral);
71 m_map.
insert(
"preprocessor", HighlightHandler::Preprocessor);
75 return m_map[kindStr];
101 : m_children(children), m_curString(curString),
391 debug(2,
"start list item handler\n");
396 debug(2,
"end list item handler\n");
646 if (kind==
"retval")
m_type=RetVal;
648 else if (kind==
"param")
m_type=Param;
651 debug(1,
"Error: invalid parameterlist type: %s\n",kind.
data());
653 debug(2,
"parameterlist kind=%s\n",kind.
data());
691 debug(2,
"Start link\n");
701 debug(2,
"End link\n");
721 debug(2,
"Start email\n");
730 debug(2,
"End email\n");
750 debug(2,
"Start ulink\n");
760 debug(2,
"End ulink\n");
780 debug(2,
"Start linebreak\n");
786 debug(2,
"End linebreak\n");
806 debug(2,
"Start hruler\n");
812 debug(2,
"End hruler\n");
835 attrib.
value(
"kindref")==
"member");
871 debug(2,
"Start title\n");
879 debug(2,
"End title\n");
893 debug(2,
"addTextNode() text=\"%s\" markup=%x headingLevel=%d\n",
916 :
m_parent(parent), m_paragraph(0), m_title(0)
937 debug(2,
"end simple section\n");
960 :
m_parent(parent), m_description(0), m_linkedTextHandler(0)
977 debug(2,
"start varlistentry\n");
983 debug(2,
"end varlistentry\n");
989 debug(2,
"start listitem\n");
995 debug(2,
"end listitem\n");
1043 debug(2,
"start variablelist\n");
1048 debug(2,
"end variablelist\n");
1095 debug(2,
"start highlight\n");
1124 debug(2,
"addTextNode() text=\"%s\"\n",
1157 debug(2,
"start codeline\n");
1163 debug(2,
"end codeline\n");
1170 debug(2,
"start linenumber\n");
1201 debug(2,
"addTextNode() text=\"%s\"\n",
1235 debug(2,
"start programlisting\n");
1240 debug(2,
"end programlisting\n");
1406 debug(2,
"start index entry\n");
1412 debug(2,
"index entry primary=`%s' secondary=`%s'\n",
1586 debug(2,
"start copy handler\n");
1591 debug(2,
"end copy handler\n");
1741 debug(2,
"end para\n");
2020 debug(2,
"addTextNode() text=\"%s\" markup=%x headingLevel=%d\n",
2036 :
m_parent(parent), m_internal(0), m_level(level), m_title(0)
2045 sectionKey.
sprintf(
"sect%d",level+1);
2049 sectionKey.
sprintf(
"sect%d",level);
2060 debug(2,
"Start docsection\n");
2067 debug(2,
"End docsection\n");
2122 sectionKey.
sprintf(
"sect%d",level+1);
2134 debug(2,
"Start internal\n");
2140 debug(2,
"End internal\n");
2195 debug(2,
"start dochandler\n");
2200 debug(2,
"end dochandler\n");
friend class ParagraphIterator
virtual ~VariableListEntryHandler()
TocListHandler(IBaseHandler *parent)
virtual void startVarListEntry(const QXmlAttributes &attrib)
friend class OrderedListIterator
virtual void startRef(const QXmlAttributes &)
QList< DocImpl > m_subsections
virtual IDocIterator * elements() const
virtual IDocIterator * contents() const
QList< DocImpl > m_children
void startEMail(const QXmlAttributes &attrib)
virtual void startProgramListing(const QXmlAttributes &attrib)
void startEntry(const QXmlAttributes &attrib)
virtual void startItemizedList(const QXmlAttributes &attrib)
ItemizedListHandler(IBaseHandler *parent)
virtual void startTocItem(const QXmlAttributes &attrib)
virtual void startRing(const QXmlAttributes &attrib)
Node representing a list item.
virtual void startULink(const QXmlAttributes &attrib)
QString & sprintf(const char *format,...)
Node representing an entry in the table entry.
virtual IDocIterator * codeElements() const
virtual void startCodeLine(const QXmlAttributes &)
virtual ILinkedTextIterator * term() const
CodeLineHandler(IBaseHandler *parent)
ProgramListingHandler(IBaseHandler *parent)
virtual ~TocListHandler()
OrderedListHandler(IBaseHandler *parent)
virtual void startSubSection(const QXmlAttributes &attrib)
virtual void endTocItem()
virtual ~ParameterHandler()
QList< ParameterHandler > m_parameters
virtual void endPreformatted()
Node representing an preformatted section.
QList< VariableListEntryHandler > m_entries
virtual void startHeading3(const QXmlAttributes &attrib)
virtual void endParameterList()
virtual void startCirc(const QXmlAttributes &attrib)
virtual void startSimpleSect(const QXmlAttributes &attrib)
virtual void startTitle(const QXmlAttributes &attrib)
void append(const type *d)
virtual void startCopy(const QXmlAttributes &attrib)
SimpleSectHandler(IBaseHandler *parent)
EMailHandler(IBaseHandler *parent)
LinkedTextHandler * m_linkedTextHandler
friend class ParameterItemIterator
HighlightHandler::HighlightKind stringToKind(const QString &kindStr)
virtual void startParameterItem(const QXmlAttributes &attrib)
Handles markup commands in the XML input.
virtual void endHeading1()
Node representing list of items.
ListItemHandler(IBaseHandler *parent)
virtual void startFormula(const QXmlAttributes &attrib)
QList< CodeLineHandler > m_children
virtual void startSubscript(const QXmlAttributes &attrib)
Node representing a line of code.
friend class DocSectionParaIterator
virtual void startTitle(const QXmlAttributes &attrib)
static HighlightMapper * s_highlightMapper
Node representing a list of named items.
QList< EntryHandler > m_children
virtual void startVariableList(const QXmlAttributes &attrib)
ImageHandler(IBaseHandler *parent)
virtual void startHeading5(const QXmlAttributes &attrib)
virtual void startEmphasis(const QXmlAttributes &attrib)
virtual void startTocList(const QXmlAttributes &attrib)
virtual void startCodeLine(const QXmlAttributes &)
static TypeNameMapper * s_typeMapper
virtual void startImage(const QXmlAttributes &attrib)
QList< DocImpl > m_children
DocInternalHandler * m_internal
virtual void startParameterName(const QXmlAttributes &attrib)
DocInternalHandler(IBaseHandler *parent, int level)
friend class HighlightIterator
QList< DocImpl > m_paragraphs
friend class EntryIterator
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
void startIndexEntry(const QXmlAttributes &attrib)
virtual void endParagraph()
virtual IDocIterator * entries() const
virtual IDocIterator * elements() const
virtual void startHighlight(const QXmlAttributes &)
virtual ~TocItemHandler()
virtual void startAnchor(const QXmlAttributes &attrib)
RefHandler(IBaseHandler *parent)
void startParagraph(const QXmlAttributes &attrib)
Node representing a paragraph of text and commands.
virtual void startParagraph(const QXmlAttributes &attrib)
TableHandler(IBaseHandler *parent)
LinkHandler(IBaseHandler *parent)
virtual ~VerbatimHandler()
QMap< QString, HighlightHandler::HighlightKind > m_map
virtual void startLineNumber(const QXmlAttributes &)
QString value(int index) const
virtual void startOrderedList(const QXmlAttributes &attrib)
virtual void startLineNumber(const QXmlAttributes &)
friend class DocInternalParaIterator
ULinkHandler(IBaseHandler *parent)
virtual void startSuperscript(const QXmlAttributes &attrib)
virtual ~ParagraphHandler()
virtual ~ProgramListingHandler()
virtual IDocIterator * contents() const
void startImage(const QXmlAttributes &attrib)
QList< DocImpl > m_paragraphs
virtual IDocIterator * paragraphs() const
virtual void endParameterName()
virtual IDocIterator * codeElements() const
void startRow(const QXmlAttributes &attrib)
virtual void endInternal()
TocItemHandler(IBaseHandler *parent)
QList< DocImpl > m_children
IndexEntryHandler(IBaseHandler *parent)
virtual void start(const char *endTag)
friend class CodeLineIterator
Node representing a parameter.
friend class CopyIterator
virtual void endComputerOutput()
QList< DocImpl > m_children
QList< DocImpl > m_children
virtual void startParameterItem(const QXmlAttributes &attrib)
virtual void startParagraph(const QXmlAttributes &attrib)
SimpleSectHandler::Types stringToType(const QString &typeStr)
virtual void startParagraph(const QXmlAttributes &attrib)
virtual void endProgramListing()
virtual void startCopy(const QXmlAttributes &attrib)
virtual ~OrderedListHandler()
virtual ~VariableListHandler()
friend class VariableListIterator
LineBreakHandler(IBaseHandler *parent)
virtual void startCopyDoc(const QXmlAttributes &attrib)
Node representing a change in the markup style.
virtual void startTitle(const QXmlAttributes &attrib)
virtual void startParagraph(const QXmlAttributes &attrib)
virtual void startGrave(const QXmlAttributes &attrib)
virtual IDocIterator * contents() const
ParameterItemHandler(IBaseHandler *parent)
virtual void startSimpleSect(const QXmlAttributes &attrib)
const char * data() const
virtual ~SimpleSectHandler()
virtual void startTocItem(const QXmlAttributes &attrib)
virtual IDocIterator * subSections() const
friend class TocListIterator
friend class ListItemIterator
Node representing an entry in the table.
virtual void endLineNumber()
virtual void endVariableList()
virtual void startParagraph(const QXmlAttributes &attrib)
virtual void startSect1(const QXmlAttributes &attrib)
virtual IDocIterator * subSections() const
Iterator insert(const Key &key, const T &value)
ParagraphHandler(IBaseHandler *parent)
virtual void endCodeLine()
friend class ParameterListIterator
virtual void startSubSection(const QXmlAttributes &attrib)
virtual ~LineBreakHandler()
Node representing a dot file.
Node representing an entry in the index.
void startVerbatim(const QXmlAttributes &attrib, Types type)
virtual ~CodeLineHandler()
void startULink(const QXmlAttributes &attrib)
QList< DocImpl > m_children
QList< DocImpl > & m_children
virtual void startIndexEntry(const QXmlAttributes &attrib)
virtual void startDoc(const QXmlAttributes &attrib)
virtual void startHeading2(const QXmlAttributes &attrib)
void startAnchor(const QXmlAttributes &attrib)
EntryHandler(IBaseHandler *parent)
virtual void startSmallFont(const QXmlAttributes &attrib)
void startTable(const QXmlAttributes &attrib)
virtual void startParagraph(const QXmlAttributes &attrib)
QList< DocImpl > m_subsections
ParameterListHandler(IBaseHandler *parent)
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
VariableListHandler(IBaseHandler *parent)
virtual IDocIterator * paragraphs() const
virtual void endItemizedList()
virtual IDocInternal * internal() const
virtual void startParameterList(const QXmlAttributes &attrib)
QList< DocImpl > m_children
friend class TitleIterator
void startPrimaryIE(const QXmlAttributes &attrib)
virtual void endHeading4()
virtual void startParagraph(const QXmlAttributes &attrib)
QMap< QString, SimpleSectHandler::Types > m_map
virtual void startItemizedListItem(const QXmlAttributes &attrib)
DocHandler(IBaseHandler *parent)
virtual ~ParameterListHandler()
virtual ~IndexEntryHandler()
Node representing table of contents list.
QList< LinkedTextImpl > m_term
void startRef(const QXmlAttributes &attrib)
RowHandler(IBaseHandler *parent)
VariableListEntryHandler(IBaseHandler *parent)
VerbatimHandler(IBaseHandler *parent)
QList< DocImpl > m_children
virtual void endEmphasis()
virtual void startSpace(const QXmlAttributes &)
MarkupHandler * m_markupHandler
Node representing a table of contents item.
virtual void endHeading3()
virtual void startItemizedList(const QXmlAttributes &attrib)
virtual void startRef(const QXmlAttributes &)
virtual void startLink(const QXmlAttributes &attrib)
void startLineBreak(const QXmlAttributes &attrib)
virtual void startNbsp(const QXmlAttributes &attrib)
QList< DocImpl > m_children
virtual void startParameterList(const QXmlAttributes &attrib)
virtual void startCenter(const QXmlAttributes &attrib)
virtual void startTocList(const QXmlAttributes &attrib)
virtual IDocIterator * rows() const
virtual void startListItem(const QXmlAttributes &attrib)
void startEntry(const QXmlAttributes &attrib)
virtual void endHeading5()
Iterates over a list of ILinkedText fragments.
virtual void endSuperscript()
virtual void startListItem(const QXmlAttributes &attrib)
virtual IDocIterator * elements() const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
virtual void endParameterItem()
void startHRuler(const QXmlAttributes &attrib)
virtual IDocIterator * entries() const
virtual void startOrderedList(const QXmlAttributes &attrib)
ParagraphHandler * m_description
QList< DocImpl > m_children
virtual void endSimpleSect()
virtual void endTocList()
virtual IDocIterator * params() const
SymbolHandler(IBaseHandler *parent, Types type)
virtual void startComputerOutput(const QXmlAttributes &attrib)
virtual int level() const
virtual void startParagraph(const QXmlAttributes &attrib)
Node representing an image.
virtual ~DocSectionHandler()
virtual void startHRuler(const QXmlAttributes &attrib)
friend class ProgramListingIterator
virtual Types type() const
VariableListEntryHandler * m_curEntry
virtual void startParagraph(const QXmlAttributes &attrib)
AnchorHandler(IBaseHandler *parent)
DotFileHandler(IBaseHandler *parent)
virtual void startHtmlOnly(const QXmlAttributes &attrib)
virtual void startOrderedListItem(const QXmlAttributes &attrib)
void startSymbol(const QXmlAttributes &attrib)
virtual IDocIterator * contents() const
void startHighlight(const QXmlAttributes &attrib)
virtual void startProgramListing(const QXmlAttributes &attrib)
virtual void endListItem()
virtual ~DotFileHandler()
HighlightHandler(IBaseHandler *parent)
virtual void endHeading6()
friend class ItemizedListIterator
void setFallBackHandler(IFallBackHandler *h)
DocInternalHandler * m_internal
virtual void startTitle(const QXmlAttributes &attrib)
Node representing list of items.
virtual void startRef(const QXmlAttributes &attrib)
Node representing a piece of text.
virtual void startEMail(const QXmlAttributes &attrib)
virtual void startTerm(const QXmlAttributes &attrib)
virtual void endVarListEntry()
virtual void startUmlaut(const QXmlAttributes &attrib)
int toInt(bool *ok=0, int base=10) const
virtual void startLatexOnly(const QXmlAttributes &attrib)
const char * latin1() const
virtual Kind kind() const
QList< RowHandler > m_children
The QXmlAttributes class provides XML attributes.
virtual void startBold(const QXmlAttributes &attrib)
virtual ~ListItemHandler()
ParagraphHandler * m_paragraph
virtual void startHeading6(const QXmlAttributes &attrib)
friend class TableIterator
QList< DocImpl > m_children
virtual void startRef(const QXmlAttributes &attrib)
virtual IDocIterator * contents() const
virtual void startTable(const QXmlAttributes &attrib)
virtual void startDocSection(const QXmlAttributes &attrib)
void addStartHandler(const char *key)
virtual void endSubscript()
virtual ~DocInternalHandler()
void startLink(const QXmlAttributes &attrib)
ParagraphHandler * m_description
virtual void startParameterName(const QXmlAttributes &attrib)
TitleHandler(IBaseHandler *parent)
virtual void startVarListEntry(const QXmlAttributes &attrib)
Node representing a highlighted text fragment.
virtual void startCedil(const QXmlAttributes &attrib)
virtual void startPreformatted(const QXmlAttributes &attrib)
virtual void endHeading2()
virtual void startVariableList(const QXmlAttributes &attrib)
virtual ~HighlightHandler()
virtual void startHeading4(const QXmlAttributes &attrib)
virtual void endOrderedList()
CopyHandler(IBaseHandler *parent)
virtual void startLineBreak(const QXmlAttributes &attrib)
QList< ParameterItemHandler > m_paramItems
virtual void startInternal(const QXmlAttributes &attrib)
virtual void startListItem(const QXmlAttributes &attrib)
virtual ~ParameterItemHandler()
virtual IDocIterator * codeLines() const
virtual void startVerbatim(const QXmlAttributes &attrib)
ParameterHandler(IBaseHandler *parent)
virtual ~ItemizedListHandler()
Node representing a copied piece of documentation.
virtual IDocIterator * paramNames() const
friend class DocSectionSubIterator
virtual void startInternal(const QXmlAttributes &attrib)
Node representing a program listing.
void startRow(const QXmlAttributes &attrib)
DocSectionHandler(IBaseHandler *parent, int level)
void setAutoDelete(bool enable)
Node representing an anchor.
virtual void startAcute(const QXmlAttributes &attrib)
virtual void startDotFile(const QXmlAttributes &attrib)
Node representing an entry in the table row.
MarkupHandler * m_markupHandler
void startCaption(const QXmlAttributes &attrib)
Node representing an special symbol.
def parent(G, child, parent_type)
void startDotFile(const QXmlAttributes &attrib)
virtual void startInternal(const QXmlAttributes &attrib)
MarkupHandler(QList< DocImpl > &children, QString &curString)
virtual void startHeading1(const QXmlAttributes &attrib)
virtual void endDocSection()
HRulerHandler(IBaseHandler *parent)
void addEndHandler(const char *key)
virtual void startTilde(const QXmlAttributes &attrib)
virtual IDocIterator * title() const
virtual void endListItem()
Node representing a section.
friend class DocInternalSubIterator
void startSecondaryIE(const QXmlAttributes &attrib)
virtual void startSzlig(const QXmlAttributes &attrib)
virtual IDocInternal * internal() const
virtual void endSmallFont()