| PACK WOC
    $VERSION$
    | 
internal representation of a transaction More...
#include <proctrans.h>
| Public Types | |
| enum | AuthMode { Checked, Auth, Open } | 
| authentication mode  More... | |
| enum | NoLogMode { LogAll =0, NoLogRequest =1, NoLogResponse =2, NoLogAny =3 } | 
| Log Mode: signals what kind of logging is forbidden.  More... | |
| Public Member Functions | |
| WocTransaction (const QDomElement &) | |
| initializes a transaction from XML  More... | |
| bool | isValid () const | 
| returns whether parsing it was successful  More... | |
| QString | name () const | 
| returns the name of the transaction  More... | |
| bool | hasInput (QString v) const | 
| returns whether an input variable exists  More... | |
| QStringList | inputNames () const | 
| returns the names of all inputs in the order of definition  More... | |
| QString | inputType (QString) const | 
| returns the type of an input variable  More... | |
| bool | hasOutput (QString v) const | 
| returns whether an output variable exists  More... | |
| QStringList | outputNames () const | 
| returns the names of all outputs in the order of definition  More... | |
| QString | outputType (QString) const | 
| returns the type of an output variable  More... | |
| bool | hasCall (QString c) const | 
| returns whether a specific language binding exists for a call  More... | |
| QString | callFunction (QString c) const | 
| returns the called function  More... | |
| QString | callInclude (QString c) const | 
| returns the include file of the called function  More... | |
| AuthMode | authMode () const | 
| NoLogMode | logMode () const | 
| QString | typeSerializer (QString t) const | 
| returns the XML serializer for Object types  More... | |
| QStringList | docStrings () const | 
| return the documentation of the transaction  More... | |
| QString | inputDoc (QString v) const | 
| return docu of input element  More... | |
| QString | outputDoc (QString v) const | 
| return docu of output element  More... | |
| QString | privilegeDoc (QString p) const | 
| return docu of a privilege  More... | |
| QStringList | privileges () const | 
| return privileges that exist inside this transaction  More... | |
| bool | isDbUpdating () const | 
| returns whether this transaction is considered to update the database  More... | |
| Static Public Member Functions | |
| static bool | isListType (QString t) | 
| returns true if the type given is a list  More... | |
| static QString | plainType (QString t) | 
| returns the type without list or xml qualifiers  More... | |
| static bool | isIntType (QString t) | 
| returns true if the type is integer  More... | |
| static bool | isBoolType (QString t) | 
| returns true if the type is boolean  More... | |
| static bool | isStringType (QString t) | 
| returns true if the type is a string  More... | |
| static bool | isBlobType (QString t) | 
| returns true if the type is a blob  More... | |
| static bool | isAttributeType (QString t) | 
| returns true if the type is to be encoded as attribute  More... | |
| static bool | isElementType (QString t) | 
| returns true if the type is to be encoded as element  More... | |
| static bool | isObjectType (QString t) | 
| return true if the type is an object type  More... | |
| Private Attributes | |
| QString | m_name | 
| bool | m_valid | 
| bool | m_update | 
| AuthMode | m_mode | 
| NoLogMode | m_logmode | 
| QMap< QString, QPair< QString, QString > > | m_call | 
| QList< QPair< QString, QString > > | m_input | 
| QList< QPair< QString, QString > > | m_output | 
| QStringList | m_privileges | 
| QStringList | m_docstrings | 
| QMap< QString, QString > | m_indoc | 
| QMap< QString, QString > | m_outdoc | 
| QMap< QString, QString > | m_privdoc | 
internal representation of a transaction
| WocTransaction::WocTransaction | ( | const QDomElement & | root | ) | 
initializes a transaction from XML
| 
 | inline | 
| 
 | inline | 
returns the called function
| 
 | inline | 
returns the include file of the called function
| 
 | inline | 
return the documentation of the transaction
| 
 | inline | 
returns whether a specific language binding exists for a call
| bool WocTransaction::hasInput | ( | QString | v | ) | const | 
returns whether an input variable exists
| bool WocTransaction::hasOutput | ( | QString | v | ) | const | 
returns whether an output variable exists
| 
 | inline | 
return docu of input element
| QStringList WocTransaction::inputNames | ( | ) | const | 
returns the names of all inputs in the order of definition
| QString WocTransaction::inputType | ( | QString | v | ) | const | 
returns the type of an input variable
| 
 | inlinestatic | 
returns true if the type is to be encoded as attribute
| 
 | inlinestatic | 
returns true if the type is a blob
| 
 | inlinestatic | 
returns true if the type is boolean
| 
 | inline | 
returns whether this transaction is considered to update the database
| 
 | inlinestatic | 
returns true if the type is to be encoded as element
| 
 | inlinestatic | 
returns true if the type is integer
| 
 | inlinestatic | 
returns true if the type given is a list
| 
 | inlinestatic | 
return true if the type is an object type
| 
 | inlinestatic | 
returns true if the type is a string
| 
 | inline | 
returns whether parsing it was successful
| 
 | inline | 
| 
 | inline | 
returns the name of the transaction
| 
 | inline | 
return docu of output element
| QStringList WocTransaction::outputNames | ( | ) | const | 
returns the names of all outputs in the order of definition
| QString WocTransaction::outputType | ( | QString | v | ) | const | 
returns the type of an output variable
| 
 | inlinestatic | 
returns the type without list or xml qualifiers
| 
 | inline | 
return docu of a privilege
| 
 | inline | 
return privileges that exist inside this transaction
| 
 | inline | 
returns the XML serializer for Object types
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
 1.8.8
 1.8.8