PACK WOC  $VERSION$
qtstrans.h
Go to the documentation of this file.
1 // Copyright (C) 2009-2011 by Konrad Rosenbaum <konrad@silmor.de>
2 // protected under the GNU GPL version 3 or at your option any newer.
3 // See COPYING.GPL file that comes with this distribution.
4 //
5 
6 #ifndef WOC_QTOUT_STRANS_H
7 #define WOC_QTOUT_STRANS_H
8 
9 #include "qtout.h"
10 
11 class QtSTrans;
12 
15 {
16  public:
21  virtual void finalize();
23  virtual void newTransaction(const WocTransaction&);
24  private:
26  QString trnInput(const WocTransaction&);
28  QString trnOutput(const WocTransaction&);
30  void trnList();
32  void genInclude(QtSTrans&);
34  void genProperties(QtSTrans&);
36  void genTors(QtSTrans&);
38  void genQuery(QtSTrans&);
40  void genGetters(QtSTrans&);
42  void genSetters(QtSTrans&);
44  void genLogCtrl(QtSTrans&);
45 };
46 
47 #endif
void genProperties(QtSTrans &)
helper: generate properties
Definition: qtstrans.cpp:139
Specialization for generating transactions for a Qt server target, used by WocQtServerOut.
Definition: qtstrans.h:14
internal helper to hold the output for one transaction, this is handed around WocQtServerTransaction ...
Definition: qtstrans.cpp:24
~WocQtServerTransaction()
Definition: qtstrans.cpp:15
Abstract base class for Qt client and server output.
Definition: qtout.h:44
void genLogCtrl(QtSTrans &)
helper: generate log control
Definition: qtstrans.cpp:269
void genSetters(QtSTrans &)
helper: generate setter methods
Definition: qtstrans.cpp:260
void genTors(QtSTrans &)
helper: generate con- and de-structors
Definition: qtstrans.cpp:154
void genInclude(QtSTrans &)
helper: generate include section
Definition: qtstrans.cpp:123
QString trnOutput(const WocTransaction &)
helper generates the transaction output decoding
Definition: qtstrans.cpp:279
WocQtServerTransaction(WocQtOut *)
generates the object for a specific output
Definition: qtstrans.cpp:11
QString trnInput(const WocTransaction &)
helper generates the transaction input encoding
Definition: qtstrans.cpp:341
internal representation of a transaction
Definition: proctrans.h:16
virtual void finalize()
called when all parsing is done
Definition: qtstrans.cpp:17
void trnList()
helper generates enums and strings for all transactions
Definition: qtstrans.cpp:403
void genGetters(QtSTrans &)
helper: generate getter methods
Definition: qtstrans.cpp:251
abstract base class for Qt transaction generator
Definition: qtout.h:18
virtual void newTransaction(const WocTransaction &)
generates code for one transaction
Definition: qtstrans.cpp:57
void genQuery(QtSTrans &)
helper: generate query methods
Definition: qtstrans.cpp:191