• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

PythonWriter Class Reference

#include <pythonwriter.h>

Inheritance diagram for PythonWriter:

Inheritance graph
[legend]

List of all members.


Detailed Description

Class PythonWriter is a python code generator for UMLClassifier objects Just call writeClass and feed it a UMLClassifier.

NOTE: There is a unit test available for this class. Please, use and adapt it when necessary.

Definition at line 34 of file pythonwriter.h.


Public Member Functions

 PythonWriter ()
virtual ~PythonWriter ()
virtual void writeClass (UMLClassifier *c)
virtual Uml::Programming_Language getLanguage ()
virtual const QStringList reservedKeywords () const

Constructor & Destructor Documentation

PythonWriter::PythonWriter (  ) 

Definition at line 36 of file pythonwriter.cpp.

PythonWriter::~PythonWriter (  )  [virtual]

Definition at line 40 of file pythonwriter.cpp.


Member Function Documentation

void PythonWriter::writeClass ( UMLClassifier *  c  )  [virtual]

Call this method to generate C++ code for a UMLClassifier.

Parameters:
c the class you want to generate code for

Implements SimpleCodeGenerator.

Definition at line 44 of file pythonwriter.cpp.

Uml::Programming_Language PythonWriter::getLanguage (  )  [virtual]

Return the programming language identifier.

Returns:
programming language id

Implements CodeGenerator.

Definition at line 291 of file pythonwriter.cpp.

const QStringList PythonWriter::reservedKeywords (  )  const [virtual]

Get list of reserved keywords.

Returns:
the list of reserved keywords

Reimplemented from CodeGenerator.

Definition at line 296 of file pythonwriter.cpp.


The documentation for this class was generated from the following files:
  • pythonwriter.h
  • pythonwriter.cpp

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kate
  •     kate
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal