base class of all output generators More...
#include <processor.h>
Signals | |
| void | errorFound () |
Public Member Functions | |
| WocOutput () | |
| the constructor should set up and initialize the environment of the generator | |
| virtual | ~WocOutput () |
| currently there is no guarantee that the destructor is ever called. | |
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 | |
| 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) | |
| 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) | |
| 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 | |
base class of all output generators
| 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.
| void WocOutput::errorFound | ( | ) | [signal] |
| virtual void WocOutput::finalize | ( | ) | [protected, pure virtual, slot] |
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 WocHtmlOut, WocPHPOut, WocQtOut, WocSchemaOut, and WocSoapOut.
| virtual void WocOutput::newClass | ( | const WocClass & | ) | [protected, pure virtual, slot] |
called whenever the parser finds a new class in the XML input; some references might not exist yet
Implemented in WocHtmlOut, WocPHPOut, WocQtOut, WocSchemaOut, and WocSoapOut.
| virtual void WocOutput::newTable | ( | const WocTable & | ) | [protected, pure virtual, slot] |
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 WocHtmlOut, WocPHPOut, WocQtOut, WocSchemaOut, and WocSoapOut.
| virtual void WocOutput::newTransaction | ( | const WocTransaction & | ) | [protected, pure virtual, slot] |
called whenever the parser finds a new transaction; the parser guarantees that all referenced types exist (it will throw an error otherwise)
Implemented in WocHtmlOut, WocPHPOut, WocQtOut, WocSchemaOut, and WocSoapOut.
1.7.1