#include <StrMod/GraphVizVisitor.h>
Inheritance diagram for strmod::strmod::GraphVizVisitor:

Public Methods | |
| GraphVizVisitor () | |
| Constructor, doesn't do much. | |
| virtual | ~GraphVizVisitor () |
| Destructor, also doesn't do much. | |
| virtual int | AreYouA (const lcore::ClassIdent &cid) const |
| Asks if a class is of a particular type, or publicly derived from that type. | |
| const StrChunkPtr | visit (const StrChunkPtr &root, std::ostream &out) |
| Visits the chunk DAG printing out a GraphViz parsable graph description, returning a StrChunk containing the data for the chunk DAG. | |
Static Public Attributes | |
| const STR_ClassIdent | identifier |
| Globally unique identifier for this class. | |
Protected Methods | |
| virtual const lcore::ClassIdent * | i_GetIdent () const |
| Returns the class identifier for the class the object actually is. | |
| virtual void | use_visitStrChunk (const StrChunkPtr &chunk, const LinearExtent &used) throw (halt_visitation) |
| This is the Template Method function to visit a StrChunk. Called by the UseTracking machinery. | |
| virtual void | use_visitDataBlock (const void *start, size_t len, const void *realstart, size_t reallen) throw (halt_visitation) |
| This is the Template Method function to visit an actual chunk of data. Called by the UseTracking machinery. | |
| void | printData (const void *data, size_t len) |
Definition at line 43 of file GraphVizVisitor.h.
|
|
Asks if a class is of a particular type, or publicly derived from that type. Overriden in every derived class (with a static identifier member) to compare against the identifier, then call the AreYouA methods of all the superclasses.
Reimplemented from strmod::strmod::UseTrackingVisitor. Definition at line 53 of file GraphVizVisitor.h. |
|
|
Returns the class identifier for the class the object actually is. Should always be overridden in any class that has a static identifier member. Reimplemented from strmod::strmod::UseTrackingVisitor. Definition at line 64 of file GraphVizVisitor.h. |
|
||||||||||||
|
Prints out a chunk of data that may contain non-printable characters. It prints out the octal escape sequence for a non-printable character, or a '"' character. It captures '"' characters because those are used to delimit strings in GraphViz. Definition at line 131 of file GraphVizVisitor.cxx. |
|
||||||||||||||||||||
|
This is the Template Method function to visit an actual chunk of data. Called by the UseTracking machinery.
Implements strmod::strmod::UseTrackingVisitor. Definition at line 107 of file GraphVizVisitor.cxx. |
|
||||||||||||
|
This is the Template Method function to visit a StrChunk. Called by the UseTracking machinery.
Implements strmod::strmod::UseTrackingVisitor. Definition at line 90 of file GraphVizVisitor.cxx. |
|
||||||||||||
|
Visits the chunk DAG printing out a GraphViz parsable graph description, returning a StrChunk containing the data for the chunk DAG.
Definition at line 49 of file GraphVizVisitor.cxx. |
|
|
Globally unique identifier for this class. Every class that might need to be identified should have a public static const identifier object in it. Reimplemented from strmod::strmod::UseTrackingVisitor. |
1.3-rc1