Generic Debug Output. More...
#include <rdebug.h>
Inheritance diagram for RDebug:
Collaboration diagram for RDebug:
Public Member Functions | |
RDebug (void) | |
void | BeginTag (const RString &tag, const RString &attrs=RString::Null) |
void | PrintComment (const RString &text) |
void | EndTag (const RString &text) |
const RString & | GetCurrentTag (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)=0 |
virtual void | WriteText (const RString &text)=0 |
virtual void | WriteEndTag (const RString &tag)=0 |
Protected Attributes | |
int | Depth |
RBoolVector | Depths |
Private Attributes | |
RString | CurTag |
Detailed Description
Generic Debug Output.
This file represent a generic debug output for the GA.
Constructor & Destructor Documentation
RDebug | ( | void | ) |
Construct a debugger output.
|
virtual |
Destruct the debugger output.
Member Function Documentation
void BeginTag | ( | const RString & | tag, |
const RString & | attrs = RString::Null |
||
) |
Begin a Tag with attributes.
- Parameters
-
tag Name of the Tag. attrs Attributes.
void PrintComment | ( | const RString & | text | ) |
Print some Text in the current tag.
- Parameters
-
text Text to add.
void EndTag | ( | const RString & | text | ) |
End a Tag.
- Parameters
-
text Name of the Tag.
const RString& GetCurrentTag | ( | void | ) | const |
Get the name of the current tag.
void PrintInfo | ( | const RString & | text | ) |
Print an Info Tag.
- Parameters
-
text Text to add.
Begin a member function tag.
- Parameters
-
name Name of the member function. object Name of the object.
End a member function tag.
- Parameters
-
name Name of the member function. object Name of the object.
void BeginApp | ( | const RString & | app | ) |
Begin an application tag.
- Parameters
-
app Name of the application.
void EndApp | ( | const RString & | app | ) |
End an application tag.
- Parameters
-
app Name of the application.
|
protectedpure virtual |
|
protectedpure virtual |
Member Data Documentation
|
private |
String containing the current tag.
|
protected |
Depth (if -1 -> Nothing).
|
protected |
If Depths[i]=true -> i+1 not null.