Abstract base class for generating output for PHP. More...
#include <phpout.h>
Public Member Functions | |
| WocPHPOut (const QDomElement &) | |
| initializes the output object | |
| virtual | ~WocPHPOut ()=0 |
Protected Member Functions | |
| virtual void | finalize () |
| writes any last words after parsing finished | |
| virtual void | newClass (const WocClass &) |
| creates a class | |
| virtual void | newTable (const WocTable &) |
| creates a table | |
| virtual void | newTransaction (const WocTransaction &) |
| creates a transaction | |
| void | addLoad (QString classname, QString filename) |
| helper: adds a loader line for a class to autoload.php | |
| QString | classPrefix () |
| helper: returns the class prefix | |
| QString | className (const WocClass &c) |
| helper: return the PHP-class-name of a WocClass | |
| QString | abstractClassName (const WocClass &c) |
| helper: return the PHP-class-name of a WocClass plus Abstract if it is abstract | |
| QString | trnClassName (const WocTransaction &t) |
| helper: returns the PHP-class-name for a WocTransaction | |
Protected Attributes | |
| QString | m_basedir |
| QString | m_subdir |
| QString | m_fileext |
| QString | m_transbase |
| QString | m_lang |
| QFile | m_loader |
| QFile | m_schema |
| QFile | m_transact |
| WocPHPClass * | pclass |
| WocPHPTable * | ptable |
| WocPHPTransaction * | ptrans |
Friends | |
| class | WocPHPClass |
| class | WocPHPTable |
| class | WocPHPTransaction |
| class | WocPHPClientTransaction |
| class | WocPHPServerTransaction |
Abstract base class for generating output for PHP.
| WocPHPOut::WocPHPOut | ( | const QDomElement & | el | ) |
initializes the output object
| WocPHPOut::~WocPHPOut | ( | ) | [pure virtual] |
| QString WocPHPOut::abstractClassName | ( | const WocClass & | c | ) | [inline, protected] |
helper: return the PHP-class-name of a WocClass plus Abstract if it is abstract
| void WocPHPOut::addLoad | ( | QString | classname, | |
| QString | filename | |||
| ) | [protected] |
helper: adds a loader line for a class to autoload.php
| QString WocPHPOut::className | ( | const WocClass & | c | ) | [inline, protected] |
helper: return the PHP-class-name of a WocClass
| QString WocPHPOut::classPrefix | ( | ) | [inline, protected] |
helper: returns the class prefix
| void WocPHPOut::finalize | ( | ) | [protected, virtual] |
writes any last words after parsing finished
Implements WocOutput.
| void WocPHPOut::newClass | ( | const WocClass & | cls | ) | [protected, virtual] |
creates a class
Implements WocOutput.
| void WocPHPOut::newTable | ( | const WocTable & | tbl | ) | [protected, virtual] |
creates a table
Implements WocOutput.
| void WocPHPOut::newTransaction | ( | const WocTransaction & | trn | ) | [protected, virtual] |
creates a transaction
Implements WocOutput.
| QString WocPHPOut::trnClassName | ( | const WocTransaction & | t | ) | [inline, protected] |
helper: returns the PHP-class-name for a WocTransaction
friend class WocPHPClass [friend] |
friend class WocPHPClientTransaction [friend] |
friend class WocPHPServerTransaction [friend] |
friend class WocPHPTable [friend] |
friend class WocPHPTransaction [friend] |
QString WocPHPOut::m_basedir [protected] |
QString WocPHPOut::m_fileext [protected] |
QString WocPHPOut::m_lang [protected] |
QFile WocPHPOut::m_loader [protected] |
QFile WocPHPOut::m_schema [protected] |
QString WocPHPOut::m_subdir [protected] |
QFile WocPHPOut::m_transact [protected] |
QString WocPHPOut::m_transbase [protected] |
WocPHPClass* WocPHPOut::pclass [protected] |
WocPHPTable* WocPHPOut::ptable [protected] |
WocPHPTransaction* WocPHPOut::ptrans [protected] |
1.7.1