|
PACK WOC
$VERSION$
|
central processing singleton More...
#include <processor.h>
Public Types | |
| enum | MessageEncoding { WobEncoding =0, Soap12Encoding =1, SoapEncoding =1, DefaultEncoding =-1 } |
| describes the way message are encoded in transport More... | |
| enum | AuthMode { NoAuth =0, SessionAuth =1, BasicAuth =2, UnknownAuth =-1 } |
| describes the authentication mode of the project More... | |
Public Slots | |
| void | errorFound () |
Signals | |
| void | sfinalize () |
| void | newClass (const WocClass &) |
| void | newTable (const WocTable &) |
| void | newTransaction (const WocTransaction &) |
Public Member Functions | |
| WocProcessor () | |
| bool | processFile (QString) |
| called from main loop to parse a file More... | |
| void | finalize () |
| called from main loop to finalize its work More... | |
| QString | baseDir () const |
| returns the base directory of the project (all other pathes are relative to it) More... | |
| QString | wobDir () const |
| returns the directory where WOLFs are found, should normally not be used outside this class More... | |
| QString | projectName () const |
| returns the project name (default="WobProject") More... | |
| QString | verComm () const |
| returns the current communication protocol version More... | |
| QString | verNeedComm () const |
| returns the communication protocol version that is at least needed to be compatible More... | |
| QString | verHR () const |
| returns a human readable version string More... | |
| QMap< QString, QString > | versionInfo () const |
| returns version information about the project More... | |
| QString | dbInst () const |
| returns the variable name that will contain the database driver instance More... | |
| QString | dbSchema () const |
| returns the variable name that will contain the database schema object More... | |
| QString | dbVersion () const |
| returns the database schema version More... | |
| QString | dbConfigTable () const |
| returns the config table name More... | |
| QString | dbConfigKeyColumn () const |
| returns the config key column More... | |
| QString | dbConfigValueColumn () const |
| returns the config value column More... | |
| QString | dbVersionRow () const |
| returns the row containing the DB version in the config table More... | |
| QString | xmlProjectNamespace () const |
| returns the XML namespace of the project More... | |
| QString | xmlPackNamespace () const |
| returns the XML namespace for Wob base elements More... | |
| QString | xmlSoap12Namespace () const |
| returns the XML namespace for SOAP 1.2 elements More... | |
| QString | xmlSchemaNamespace () const |
| returns the XML namespace for Schema itself More... | |
| QString | xmlXmlNamespace () const |
| returns the XML namespace for XML base elements More... | |
| MessageEncoding | messageEncoding () const |
| returns the message encoding mode More... | |
| AuthMode | authMode () const |
| returns the authentication mode More... | |
| bool | hasTable (QString) const |
| returns whether a table exists More... | |
| WocTable | table (QString) const |
| returns the requested table More... | |
| bool | hasClass (QString) const |
| returns whether a class exists More... | |
| QStringList | transactionNames () const |
| returns a list of transaction names More... | |
| QStringList | classNames () const |
| returns a list of class names More... | |
| QStringList | tableNames () const |
| returns a list of table names More... | |
| QStringList | docStrings () const |
| returns global docu More... | |
| QStringList | privilegeNames () const |
| returns the qualified names of all privileges More... | |
| bool | dbUpdatingDefault () const |
| returns the default for the database "updating" attribute More... | |
Static Public Member Functions | |
| static WocProcessor * | instance () |
| returns the instance of the processor (if it exists yet) More... | |
Private Member Functions | |
| bool | callSvn () |
| helper: calls SVN and parses its output More... | |
| bool | callGit () |
| helper: calls GIT and parses its output More... | |
| bool | callNoVer () |
| helper: fallback for version control check More... | |
| void | parseNamespaces () |
| helper: looks up some schema files and finds the corresponding namespaces More... | |
| AuthMode | str2AuthMode (QString) |
| helper: converts Project/auth attribute to enum More... | |
Private Attributes | |
| QString | m_baseDir |
| QString | m_wobDir |
| QString | m_verComm |
| QString | m_verNeedComm |
| QString | m_verHR |
| QString | m_projname |
| QString | m_verTarget |
| QString | m_svnExe |
| QString | m_gitExe |
| QMap< QString, QString > | m_verInfo |
| QStringList | m_verSys |
| QString | m_dbInst |
| QString | m_dbSchema |
| QString | m_dbVer |
| QString | m_dbConfigTable |
| QString | m_dbConfigKey |
| QString | m_dbConfigVal |
| QString | m_dbVersionRow |
| QString | m_xmlNS |
| QString | m_xmlPackNS |
| QString | m_xmlSoap12NS |
| QString | m_xmlSchemaNS |
| QString | m_xmlXmlNS |
| QStringList | m_docstrings |
| bool | m_error |
| bool | m_dbUpd |
| MessageEncoding | m_encmode |
| AuthMode | m_auth |
| QList< WocTable > | m_tables |
| QList< WocClass > | m_classes |
| QList< WocTransaction > | m_transactions |
Static Private Attributes | |
| static WocProcessor * | inst =0 |
central processing singleton
describes the way message are encoded in transport
| WocProcessor::WocProcessor | ( | ) |
|
inline |
returns the authentication mode
|
inline |
returns the base directory of the project (all other pathes are relative to it)
|
private |
helper: calls GIT and parses its output
|
private |
helper: fallback for version control check
|
private |
helper: calls SVN and parses its output
| QStringList WocProcessor::classNames | ( | ) | const |
returns a list of class names
|
inline |
returns the config key column
|
inline |
returns the config table name
|
inline |
returns the config value column
|
inline |
returns the variable name that will contain the database driver instance
|
inline |
returns the variable name that will contain the database schema object
|
inline |
returns the default for the database "updating" attribute
|
inline |
returns the database schema version
|
inline |
returns the row containing the DB version in the config table
|
inline |
returns global docu
|
slot |
| void WocProcessor::finalize | ( | ) |
called from main loop to finalize its work
| bool WocProcessor::hasClass | ( | QString | n | ) | const |
returns whether a class exists
| bool WocProcessor::hasTable | ( | QString | n | ) | const |
returns whether a table exists
|
inlinestatic |
returns the instance of the processor (if it exists yet)
|
inline |
returns the message encoding mode
|
signal |
|
signal |
|
signal |
|
private |
helper: looks up some schema files and finds the corresponding namespaces
| QStringList WocProcessor::privilegeNames | ( | ) | const |
returns the qualified names of all privileges
| bool WocProcessor::processFile | ( | QString | fn | ) |
called from main loop to parse a file
|
inline |
returns the project name (default="WobProject")
|
signal |
|
private |
helper: converts Project/auth attribute to enum
| WocTable WocProcessor::table | ( | QString | n | ) | const |
returns the requested table
| QStringList WocProcessor::tableNames | ( | ) | const |
returns a list of table names
| QStringList WocProcessor::transactionNames | ( | ) | const |
returns a list of transaction names
|
inline |
returns the current communication protocol version
|
inline |
returns a human readable version string
|
inline |
returns the communication protocol version that is at least needed to be compatible
|
inline |
returns version information about the project
|
inline |
returns the directory where WOLFs are found, should normally not be used outside this class
|
inline |
returns the XML namespace for Wob base elements
|
inline |
returns the XML namespace of the project
|
inline |
returns the XML namespace for Schema itself
|
inline |
returns the XML namespace for SOAP 1.2 elements
|
inline |
returns the XML namespace for XML base elements
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.8