PACK WOC  $VERSION$
Signals | Public Member Functions | Protected Slots | List of all members
WocOutput Class Referenceabstract

base class of all output generators More...

#include <processor.h>

Inheritance diagram for WocOutput:
WocHtmlOut WocPHPOut WocQtOut WocSchemaOut WocSoapOut WocPHPClientOut WocPHPServerOut WocQtClientOut WocQtServerOut

Signals

void errorFound ()
 

Public Member Functions

 WocOutput ()
 the constructor should set up and initialize the environment of the generator More...
 
virtual ~WocOutput ()
 currently there is no guarantee that the destructor is ever called. More...
 

Protected Slots

virtual void newClass (const WocClass &)=0
 called whenever the parser finds a new class in the XML input; some references might not exist yet More...
 
virtual void newTable (const WocTable &)=0
 called whenever the parser finds a new table in the XML input; the parser guarantees that tables it depends on already exist (it will throw an error otherwise) More...
 
virtual void newTransaction (const WocTransaction &)=0
 called whenever the parser finds a new transaction; the parser guarantees that all referenced types exist (it will throw an error otherwise) More...
 
virtual void finalize ()=0
 called when the parsing is complete: it should clean up the generators environment; it may not be called if woc stops with an error More...
 

Detailed Description

base class of all output generators

Constructor & Destructor Documentation

WocOutput::WocOutput ( )

the constructor should set up and initialize the environment of the generator

WocOutput::~WocOutput ( )
virtual

currently there is no guarantee that the destructor is ever called.

Member Function Documentation

void WocOutput::errorFound ( )
signal
virtual void WocOutput::finalize ( )
protectedpure virtualslot

called when the parsing is complete: it should clean up the generators environment; it may not be called if woc stops with an error

Implemented in WocQtOut, WocPHPOut, WocSchemaOut, WocHtmlOut, and WocSoapOut.

virtual void WocOutput::newClass ( const WocClass )
protectedpure virtualslot

called whenever the parser finds a new class in the XML input; some references might not exist yet

Implemented in WocQtOut, WocPHPOut, WocSchemaOut, WocHtmlOut, and WocSoapOut.

virtual void WocOutput::newTable ( const WocTable )
protectedpure virtualslot

called whenever the parser finds a new table in the XML input; the parser guarantees that tables it depends on already exist (it will throw an error otherwise)

Implemented in WocQtOut, WocPHPOut, WocSchemaOut, WocHtmlOut, and WocSoapOut.

virtual void WocOutput::newTransaction ( const WocTransaction )
protectedpure virtualslot

called whenever the parser finds a new transaction; the parser guarantees that all referenced types exist (it will throw an error otherwise)

Implemented in WocQtOut, WocPHPOut, WocSchemaOut, WocHtmlOut, and WocSoapOut.


The documentation for this class was generated from the following files: