PACK WOC  $VERSION$
soapout.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_SOAPOUT_H
7 #define WOC_SOAPOUT_H
8 
9 #include "schemaout.h"
10 
12 class WocSoapOut:public WocOutput
13 {
14  public:
16  WocSoapOut(const QDomElement&);
17 
18  protected:
20  virtual void finalize();
22  virtual void newClass(const WocClass&);
24  virtual void newTable(const WocTable&);
26  virtual void newTransaction(const WocTransaction&);
27  private:
28  QString m_name,m_dir;
29  QDomDocument m_doc;
30  QDomElement m_root,m_bind,m_port;
33 
35  void schemaImport();
37  void headerMsg();
39  void mainElems();
41  void serviceTag();
42 
44  QString authMode2str();
45 };
46 
47 #endif
QDomElement m_port
Definition: soapout.h:30
QDomElement m_root
Definition: soapout.h:30
void headerMsg()
creates header message
Definition: soapout.cpp:69
stores the internal representation of a database table and its abstraction class
Definition: proctable.h:19
base class of all output generators
Definition: processor.h:35
virtual void finalize()
writes any last words after parsing finished
Definition: soapout.cpp:127
generates output for a schema file
Definition: schemaout.h:15
QString authMode2str()
return name of header element for authentication mode
Definition: soapout.cpp:84
WocProcessor::AuthMode m_auth
Definition: soapout.h:32
void mainElems()
create main elements for port and binding
Definition: soapout.cpp:97
generates output for a schema file
Definition: soapout.h:12
AuthMode
describes the authentication mode of the project
Definition: processor.h:127
QDomElement m_bind
Definition: soapout.h:30
QString m_dir
Definition: soapout.h:28
virtual void newTable(const WocTable &)
creates a table
Definition: soapout.cpp:207
WocSchemaOut * m_schema
Definition: soapout.h:31
void schemaImport()
creates schema imports
Definition: soapout.cpp:49
QString m_name
Definition: soapout.h:28
virtual void newClass(const WocClass &)
creates a class
Definition: soapout.cpp:202
internal representation of a transaction
Definition: proctrans.h:16
virtual void newTransaction(const WocTransaction &)
creates a transaction
Definition: soapout.cpp:140
QDomDocument m_doc
Definition: soapout.h:29
void serviceTag()
create service
Definition: soapout.cpp:112
stores a communication class including serialization and deserialization information ...
Definition: procclass.h:26
WocSoapOut(const QDomElement &)
initializes the output object with the given DOM element
Definition: soapout.cpp:13