18 #include <doxmlintf.h> 33 result+=
dynamic_cast<ILT_Text*
>(lt)->text()->latin1();
break;
35 result+=
dynamic_cast<ILT_Ref *
>(lt)->text()->latin1();
break;
42 #define InPrint(x) printf("%s",indent.latin1()), printf x; 53 indent.
fill(
' ',level);
76 InPrint((
"<text value=`%s' markup=%d headingLevel=%d/>\n",
84 InPrint((
"<markup modifier enabled=%d markup=%d headingLevel=%d/>\n",
100 InPrint((
"</itemized list>\n"));
115 InPrint((
"</ordered list>\n"));
136 InPrint((
"<parameter item>\n"));
145 InPrint((
"</parameter item>\n"));
159 InPrint((
"</parameter list>\n"));
198 InPrint((
"<ref id=%s text=%s/>\n",
214 InPrint((
"<variablelist/>\n"));
226 InPrint((
"<variablelistentry/>\n"));
268 InPrint((
"<programlisting>\n"));
276 InPrint((
"</programlisting>\n"));
386 InPrint((
"<section id=`%s' level=%d>\n",
391 for (di->toFirst();(pdoc=di->current());di->toNext())
396 for (di->toFirst();(pdoc=di->current());di->toNext())
446 InPrint((
"<tocitem id=\"%s\" title=\"%s\"/>\n",
476 printf(
"Invalid verbatim type!\n");
478 InPrint((
"<verbatim %s>\n",s));
494 InPrint((
"<symbol type=%s letter=%c/>\n",
515 printf(
"Found unsupported node type %d!\n",doc->
kind());
522 if (graph==0) { printf(
" --- no graph ---\n");
return; }
523 printf(
" --- graph ----\n");
528 printf(
" --- node id=%s label=%s linkId=%s\n",
535 for (cni->toFirst();(cn=cni->current());cni->toNext())
537 printf(
" + child id=%s label=%s relation=%s\n",
544 for (eli->toFirst();(el=eli->current());eli->toNext())
553 printf(
" --- end graph ----\n");
560 indentStr.
fill(
' ',indent);
570 printf(
"%sParam type=%s decl_name=%s def_name=%s defvalue=%s\n",
582 printf(
"Usage: %s xmldir\n",argv[0]);
592 printf(
"Error reading %s/index.xml\n",argv[1]);
598 printf(
"--- compound list ---------\n");
601 printf(
"Compound name=%s id=%s kind=%s\n",
606 for (sli->toFirst();(sec=sli->current());sli->toNext())
616 for (mli->toFirst();(mem=mli->current());mli->toNext())
619 printf(
" Member type=%s name=%s\n",
631 printf(
" References %s at line %d\n",
640 printf(
" ReferencedBy %s at line %d\n",
656 printf(
" Enum value `%s' init=`%s'\n",
665 printf(
" Template parameters\n");
673 printf(
"===== brief description ==== \n");
680 printf(
"===== detailed description ==== \n");
691 printf(
"===== brief description ==== \n");
698 printf(
"===== detailed description ==== \n");
707 printf(
"==== inheritance graph ==== \n");
710 printf(
"==== collabration graph ==== \n");
713 printf(
"==== base classes ==== \n");
724 printf(
"==== derived classes ==== \n");
740 printf(
"==== include dependency graph ==== \n");
743 printf(
"==== included by dependency graph ==== \n");
746 printf(
"==== source ====\n");
753 printf(
"---------------------------\n");
virtual IParam * current() const =0
virtual IDocIterator * paramNames() const =0
virtual IMember * current() const =0
The interface to a class in the object model.
virtual IDocIterator * elements() const =0
virtual const IString * name() const =0
virtual const IString * header() const =0
virtual const IString * declarationName() const =0
virtual IMember * member() const =0
virtual IDocIterator * subSections() const =0
virtual IDocIterator * contents() const =0
virtual IDocRoot * briefDescription() const =0
virtual const IString * typeString() const =0
virtual bool readXMLDir(const char *xmlDirName)=0
virtual IDocRoot * briefDescription() const =0
virtual IParamIterator * parameters() const =0
virtual INode * toNext()=0
virtual IGraph * collaborationGraph() const =0
virtual IDocPara * description() const =0
virtual IDocRoot * detailedDescription() const =0
virtual const IString * id() const =0
virtual int headingLevel() const =0
virtual const IString * relationString() const =0
void DumpParamList(IParamIterator *pli, int indent)
virtual const IString * secondary() const =0
virtual IDocIterator * entries() const =0
virtual int numColumns() const =0
virtual IDocIterator * contents() const =0
virtual int level() const =0
virtual IMemberReference * toNext()=0
virtual const IString * title() const =0
virtual const IString * url() const =0
virtual IGraph * includeDependencyGraph() const =0
virtual bool enabled() const =0
virtual const char * latin1() const =0
def graph(desc, maker=maker)
virtual IDoc * current() const =0
virtual const IString * refId() const =0
virtual const IString * text() const =0
virtual IParamIterator * templateParameters() const =0
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
virtual IDoc * toNext()=0
virtual ILinkedTextIterator * initializer() const =0
virtual IMemberReferenceIterator * references() const =0
virtual ILinkedText * toNext()=0
virtual const IString * caption() const =0
virtual const IString * refId() const =0
virtual const IString * id() const =0
virtual IDocRoot * detailedDescription() const =0
void fill(QChar c, int len=-1)
virtual const IString * id() const =0
virtual IGraph * includedByDependencyGraph() const =0
virtual IMemberIterator * enumValues() const =0
virtual ICompound * current() const =0
virtual const IString * name() const =0
virtual IDocProgramListing * source() const =0
The interface to a file in the object model.
virtual IDocInternal * internal() const =0
virtual Types sectType() const =0
virtual IDocIterator * paragraphs() const =0
virtual IMemberReference * current() const =0
virtual SectionKind kind() const =0
virtual CompoundKind kind() const =0
virtual const IString * refId() const =0
virtual const IString * text() const =0
virtual INodeIterator * nodes() const =0
virtual ICompoundIterator * compounds() const =0
const char * data() const
virtual IDocPara * description() const =0
virtual IDocIterator * rows() const =0
virtual const IString * linkId() const =0
virtual ISectionIterator * sections() const =0
virtual IDocIterator * contents() const =0
virtual const IString * text() const =0
virtual ILinkedTextIterator * type() const =0
virtual IDoc * toFirst()=0
virtual IRelatedCompoundIterator * baseCompounds() const =0
QString linkedTextToString(ILinkedTextIterator *ti)
virtual IDocPara * description() const =0
virtual INode * current() const =0
virtual IDocTitle * title() const =0
virtual IParam * toNext()=0
virtual IDocIterator * title() const =0
virtual IMemberReference * toFirst()=0
virtual ILinkedTextIterator * defaultValue() const =0
virtual const IString * id() const =0
virtual const IString * name() const =0
virtual ILinkedText * current() const =0
virtual IMember * toFirst()=0
virtual int markup() const =0
virtual Kind kind() const =0
void DumpDoc(IDoc *doc, int level)
virtual INode * toFirst()=0
virtual const IString * typeString() const =0
virtual void setDebugLevel(int level)=0
virtual const IString * primary() const =0
The interface to a compound in the object model.
virtual const IString * name() const =0
virtual const IString * address() const =0
The interface to a section in the object model.
void DumpGraph(IGraph *graph)
Iterates over a list of ILinkedText fragments.
virtual IDocIterator * entries() const =0
virtual int markup() const =0
virtual IEdgeLabelIterator * edgeLabels() const =0
virtual char letter() const =0
Base interface for hyperlinked text.
virtual IMemberIterator * members() const =0
int main(int argc, char **argv)
virtual IGraph * inheritanceGraph() const =0
IDoxygen * createObjectModel()
virtual const IString * name() const =0
virtual int lineNumber() const =0
virtual IDocIterator * elements() const =0
virtual IDocIterator * contents() const =0
virtual const IString * label() const =0
virtual IRelatedCompoundIterator * derivedCompounds() const =0
Representation of a parameter of a function.
virtual IDocIterator * params() const =0
virtual ILinkedTextIterator * term() const =0
A user defined member group.
virtual const IString * name() const =0
const char * latin1() const
virtual IDocIterator * elements() const =0
virtual IDocIterator * subSections() const =0
static constexpr double fm
virtual const IString * text() const =0
virtual const IString * caption() const =0
virtual const IString * caption() const =0
virtual IDocIterator * codeElements() const =0
virtual ILinkedTextIterator * type() const =0
virtual IChildNodeIterator * children() const =0
virtual IParam * toFirst()=0
virtual Types type() const =0
virtual const IString * text() const =0
virtual IDocIterator * paragraphs() const =0
virtual const IString * kindString() const =0
virtual int bodyStart() const =0
virtual IMember * toNext()=0
virtual IDocTitle * title() const =0
virtual const IString * definitionName() const =0
virtual IDocIterator * codeLines() const =0
virtual int headingLevel() const =0
virtual const IString * name() const =0
virtual Kind kind() const =0
virtual MemberKind kind() const =0
virtual const IString * label() const =0
virtual IDocIterator * contents() const =0
virtual IDocIterator * codeElements() const =0
virtual const IString * kindString() const =0
virtual INode * node() const =0
virtual const IString * id() const =0
virtual IMemberReferenceIterator * referencedBy() const =0
virtual ILinkedText * toFirst()=0