Specialization for generating transactions for a Qt server target, used by WocQtServerOut. More...
#include <qtstrans.h>
Public Member Functions | |
| WocQtServerTransaction (WocQtOut *) | |
| generates the object for a specific output | |
| ~WocQtServerTransaction () | |
| virtual void | finalize () |
| called when all parsing is done | |
| virtual void | newTransaction (const WocTransaction &) |
| generates code for one transaction | |
Private Member Functions | |
| QString | trnInput (const WocTransaction &) |
| helper generates the transaction input encoding | |
| QString | trnOutput (const WocTransaction &) |
| helper generates the transaction output decoding | |
| void | trnList () |
| helper generates enums and strings for all transactions | |
| void | genInclude (QtSTrans &) |
| helper: generate include section | |
| void | genProperties (QtSTrans &) |
| helper: generate properties | |
| void | genTors (QtSTrans &) |
| helper: generate con- and de-structors | |
| void | genQuery (QtSTrans &) |
| helper: generate query methods | |
| void | genGetters (QtSTrans &) |
| helper: generate getter methods | |
| void | genSetters (QtSTrans &) |
| helper: generate setter methods | |
| void | genScripting (QtSTrans &) |
| helper: generate QtScript glue code | |
Specialization for generating transactions for a Qt server target, used by WocQtServerOut.
| WocQtServerTransaction::WocQtServerTransaction | ( | WocQtOut * | p | ) | [explicit] |
generates the object for a specific output
| WocQtServerTransaction::~WocQtServerTransaction | ( | ) |
| void WocQtServerTransaction::finalize | ( | ) | [virtual] |
called when all parsing is done
Implements WocQtTransaction.
| void WocQtServerTransaction::genGetters | ( | QtSTrans & | ct | ) | [private] |
helper: generate getter methods
| void WocQtServerTransaction::genInclude | ( | QtSTrans & | ct | ) | [private] |
helper: generate include section
| void WocQtServerTransaction::genProperties | ( | QtSTrans & | ct | ) | [private] |
helper: generate properties
| void WocQtServerTransaction::genQuery | ( | QtSTrans & | ct | ) | [private] |
helper: generate query methods
| void WocQtServerTransaction::genScripting | ( | QtSTrans & | ct | ) | [private] |
helper: generate QtScript glue code
| void WocQtServerTransaction::genSetters | ( | QtSTrans & | ct | ) | [private] |
helper: generate setter methods
| void WocQtServerTransaction::genTors | ( | QtSTrans & | ct | ) | [private] |
helper: generate con- and de-structors
| void WocQtServerTransaction::newTransaction | ( | const WocTransaction & | trn | ) | [virtual] |
generates code for one transaction
Implements WocQtTransaction.
| QString WocQtServerTransaction::trnInput | ( | const WocTransaction & | trn | ) | [private] |
helper generates the transaction input encoding
| void WocQtServerTransaction::trnList | ( | ) | [private] |
helper generates enums and strings for all transactions
| QString WocQtServerTransaction::trnOutput | ( | const WocTransaction & | trn | ) | [private] |
helper generates the transaction output decoding
1.7.1