Widget Debugger. More...

#include <qrdebug.h>

Inheritance diagram for QRDebug:
[legend]
Collaboration diagram for QRDebug:
[legend]

Signals

void signalXMLClose (void)
 

Public Member Functions

 QRDebug (QWidget *parent=0)
 
virtual void clear (void)
 
 ~QRDebug (void)
 
- Public Member Functions inherited from RDebug
 RDebug (void)
 
void BeginTag (const RString &tag, const RString &attrs=RString::Null)
 
void PrintComment (const RString &text)
 
void EndTag (const RString &text)
 
const RStringGetCurrentTag (void) const
 
void PrintInfo (const RString &text)
 
void BeginFunc (const RString &name, const RString &object)
 
void EndFunc (const RString &name, const RString &object)
 
void BeginApp (const RString &app)
 
void EndApp (const RString &app)
 
virtual ~RDebug (void)
 

Protected Member Functions

virtual void WriteBeginTag (const RString &tag, const RString &attrs)
 
virtual void WriteText (const RString &text)
 
virtual void WriteEndTag (const RString &tag)
 

Private Attributes

void * Ui
 
RContainer< Item, false, false > Items
 

Additional Inherited Members

- Protected Attributes inherited from RDebug
int Depth
 
RBoolVector Depths
 

Detailed Description

Widget Debugger.

The QRDebug class provides a widget to display debug information generated by an instance of a genetic algorithm (has XML output).

Constructor & Destructor Documentation

QRDebug ( QWidget *  parent = 0)

Construct the XML debug widget.

Parameters
parentParent of the widget.
~QRDebug ( void  )

Destruct the XML debug widget.

Member Function Documentation

virtual void clear ( void  )
virtual

Clear the XML.

virtual void WriteBeginTag ( const RString tag,
const RString attrs 
)
protectedvirtual

Begin a Tag.

Parameters
tagName of the tag.
attrsAttributes.

Implements RDebug.

virtual void WriteText ( const RString text)
protectedvirtual

Write Text associate with current tag.

Parameters
textText to write.

Implements RDebug.

virtual void WriteEndTag ( const RString tag)
protectedvirtual

End a Tag.

Parameters
tagName of the tag.

Implements RDebug.

void signalXMLClose ( void  )
signal

Emit a signal when this widget is closed.

Member Data Documentation

void* Ui
private
RContainer<Item,false,false> Items
private

The array is used to manage the deepest of the XML structure.