PACK WOC
$VERSION$
|
Generates Qt code for transactions, the target is the client. More...
#include <qtctrans.h>
Classes | |
struct | s_transdoc |
memory for transaction and privilege docu More... | |
Public Member Functions | |
WocQtClientTransaction (WocQtOut *) | |
creates the generator More... | |
~WocQtClientTransaction () | |
deletes the generator More... | |
virtual void | finalize () |
called last when all parsing is done More... | |
virtual void | newTransaction (const WocTransaction &) |
called for each transaction encountered More... | |
Public Member Functions inherited from WocQtTransaction | |
WocQtTransaction (WocQtOut *) | |
instantiates the transaction generator More... | |
virtual | ~WocQtTransaction () |
Private Member Functions | |
QString | trnInput (const WocTransaction &) |
helper generates the transaction input encoding More... | |
QString | trnOutput (const WocTransaction &) |
helper generates the transaction output decoding More... | |
void | trnList () |
helper generates enums and strings for all transactions More... | |
void | genInclude (QtCTrans &) |
helper: generate include section More... | |
void | genProperties (QtCTrans &) |
helper: generate properties More... | |
void | genTors (QtCTrans &) |
helper: generate con- and de-structors More... | |
void | genQuery (QtCTrans &) |
helper: generate query methods More... | |
void | genGetters (QtCTrans &) |
helper: generate getter methods More... | |
void | genLogCtrl (QtCTrans &) |
helper: generate log control More... | |
void | initList (QtCTrans &) |
helper: initialize data in the transaction wrapper More... | |
Private Attributes | |
QMap< QString, s_transdoc > | m_transdoc |
cache for transaction documentation, used by finalize() More... | |
Additional Inherited Members | |
Signals inherited from WocQtTransaction | |
void | errorFound () |
emitted if something goes wrong, this will cause the parser process to abort More... | |
Protected Attributes inherited from WocQtTransaction | |
WocQtOut * | m_parent |
Generates Qt code for transactions, the target is the client.
The generator is instantiated when the Qt output is instantiated and stays alive till the end of the input.
|
explicit |
creates the generator
WocQtClientTransaction::~WocQtClientTransaction | ( | ) |
deletes the generator
|
virtual |
called last when all parsing is done
Implements WocQtTransaction.
|
private |
helper: generate getter methods
|
private |
helper: generate include section
|
private |
helper: generate log control
|
private |
helper: generate properties
|
private |
helper: generate query methods
|
private |
helper: generate con- and de-structors
|
private |
helper: initialize data in the transaction wrapper
|
virtual |
called for each transaction encountered
Implements WocQtTransaction.
|
private |
helper generates the transaction input encoding
|
private |
helper generates enums and strings for all transactions
|
private |
helper generates the transaction output decoding
|
private |
cache for transaction documentation, used by finalize()