PACK WOC  $VERSION$
Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
WocQtClass Class Reference

Specialization that outputs classes for WocQtOut and its sub-classes. More...

#include <qtclass.h>

Inheritance diagram for WocQtClass:

Signals

void errorFound ()
 emitted if something is wrong, aborts the processor More...
 

Public Member Functions

 WocQtClass (WocQtOut *)
 constructs the class output for a specific Qt output More...
 
 ~WocQtClass ()
 
virtual void finalize ()
 called when all parsing is done More...
 
virtual void newClass (const WocClass &)
 generates the code of a specific class More...
 

Private Member Functions

void classEnums (const WocClass &, MFile &, MFile &, QString)
 helper: generate enums for classes More...
 
void classProperties (const WocClass &, MFile &, MFile &)
 helper: generate properties More...
 
void classDeserializer (const WocClass &, MFile &, MFile &, QString)
 helper: generate constructors/deserializer/copiers More...
 
void classSerializers (const WocClass &, MFile &, MFile &, QString)
 helper: generate serializers More...
 

Private Attributes

WocQtOutm_parent
 
QString m_aux
 

Detailed Description

Specialization that outputs classes for WocQtOut and its sub-classes.

Constructor & Destructor Documentation

WocQtClass::WocQtClass ( WocQtOut p)
explicit

constructs the class output for a specific Qt output

WocQtClass::~WocQtClass ( )

Member Function Documentation

void WocQtClass::classDeserializer ( const WocClass cls,
MFile hdr,
MFile src,
QString  cn 
)
private

helper: generate constructors/deserializer/copiers

void WocQtClass::classEnums ( const WocClass cls,
MFile hdr,
MFile src,
QString  cn 
)
private

helper: generate enums for classes

void WocQtClass::classProperties ( const WocClass cls,
MFile hdr,
MFile  
)
private

helper: generate properties

void WocQtClass::classSerializers ( const WocClass cls,
MFile hdr,
MFile src,
QString  cn 
)
private

helper: generate serializers

void WocQtClass::errorFound ( )
signal

emitted if something is wrong, aborts the processor

void WocQtClass::finalize ( )
virtual

called when all parsing is done

void WocQtClass::newClass ( const WocClass cls)
virtual

generates the code of a specific class

Member Data Documentation

QString WocQtClass::m_aux
private
WocQtOut* WocQtClass::m_parent
private

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