hgl 0.5.25
A compiler/interpreter suite for developing images
Public Member Functions | List of all members
HGL::Tools::DecompileVisitor< OutputIterator, Source, Flush > Class Template Reference

Visits the HGL Suite project tree and decompiles it. More...

#include "decompilevisitor.h"

Inherits HGL::Tools::DecompileVisitorBase.

Public Member Functions

 DecompileVisitor (const Source *src, OutputIterator &out)
 Creates an DecompileVisitor instance. More...
 
- Public Member Functions inherited from HGL::Tools::DecompileVisitorBase
void close (const HGL::IType *) const
 Closes a type. More...
 
DecompileVisitorBase & operator++ ()
 Increments the output tabulator. More...
 
DecompileVisitorBase & operator-- ()
 Decrements the output tabulator. More...
 
void traverse (HGL::Type::IProject *const) throw (HGL::Exception::ReferenceException)
 Traverses the and decompiles it. More...
 

Detailed Description

template<class OutputIterator, typename Source, void(Source::*)() const Flush>
class HGL::Tools::DecompileVisitor< OutputIterator, Source, Flush >

Visits the HGL Suite project tree and decompiles it.

Author
Heiko Schäfer heiko.nosp@m.@hgl.nosp@m..rang.nosp@m.un.d.nosp@m.e
Template Parameters
OutputIteratorthe output iterator to copy the decompiled HGL tree to
Sourcethe class instantiating this DecompileVisitor
Flushpointer to a member function of Source to flush the output
Since
0.5.14

Constructor & Destructor Documentation

template<class OutputIterator , typename Source , void(Source::*)() const Flush>
HGL::Tools::DecompileVisitor< OutputIterator, Source, Flush >::DecompileVisitor ( const Source *  src,
OutputIterator &  out 
)
explicit

Creates an DecompileVisitor instance.

Parameters
srcpointer to the class instantiating this DecompileVisitor
outthe output iterator to copy the decompiled HGL tree as sequence of char to