Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

WocHtmlOut Class Reference

Output target for HTML documentation. More...

#include <htmlout.h>

Inheritance diagram for WocHtmlOut:
WocOutput

List of all members.

Public Member Functions

 WocHtmlOut (QDomElement &)
 generates the output object from the corresponding XML tag that describes it
 ~WocHtmlOut ()

Protected Member Functions

virtual void finalize ()
 called to finalize all output, creates the index
virtual void newClass (const WocClass &)
 creates an HTML page for a class
virtual void newTable (const WocTable &)
 creates an HTML page for a DB table
virtual void newTransaction (const WocTransaction &)
 creates an HTML page for a transaction

Private Member Functions

void classEnums (const WocClass &, QFile &)
 helper: generate enums for classes
void classProperties (const WocClass &, QFile &)
 helper: generate properties
void classMappings (const WocClass &, QFile &)
 helper: generate mappings

Private Attributes

QString m_basedir
QString m_subdir
QFile m_index

Detailed Description

Output target for HTML documentation.

This class does not create actual code, but documentation for the WOLF file.


Constructor & Destructor Documentation

WocHtmlOut::WocHtmlOut ( QDomElement &  el  )  [explicit]

generates the output object from the corresponding XML tag that describes it

WocHtmlOut::~WocHtmlOut (  ) 

Member Function Documentation

void WocHtmlOut::classEnums ( const WocClass cls,
QFile &  hdr 
) [private]

helper: generate enums for classes

void WocHtmlOut::classMappings ( const WocClass cls,
QFile &  hdr 
) [private]

helper: generate mappings

void WocHtmlOut::classProperties ( const WocClass cls,
QFile &  hdr 
) [private]

helper: generate properties

void WocHtmlOut::finalize (  )  [protected, virtual]

called to finalize all output, creates the index

Implements WocOutput.

void WocHtmlOut::newClass ( const WocClass cls  )  [protected, virtual]

creates an HTML page for a class

Implements WocOutput.

void WocHtmlOut::newTable ( const WocTable tbl  )  [protected, virtual]

creates an HTML page for a DB table

Implements WocOutput.

void WocHtmlOut::newTransaction ( const WocTransaction trn  )  [protected, virtual]

creates an HTML page for a transaction

Implements WocOutput.


Member Data Documentation

QString WocHtmlOut::m_basedir [private]
QFile WocHtmlOut::m_index [private]
QString WocHtmlOut::m_subdir [private]

The documentation for this class was generated from the following files: