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

umbrello/umbrello

PascalWriter Class Reference

#include <pascalwriter.h>

Inheritance diagram for PascalWriter:

Inheritance graph
[legend]

List of all members.


Detailed Description

Pascal class writer.

Author:
Oliver Kellogg Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org.

Definition at line 25 of file pascalwriter.h.


Public Member Functions

 PascalWriter ()
virtual ~PascalWriter ()
virtual void writeClass (UMLClassifier *c)
virtual Uml::Programming_Language getLanguage ()
QStringList defaultDatatypes ()
virtual bool isReservedKeyword (const QString &rPossiblyReservedKeyword)
virtual const QStringList reservedKeywords () const

Constructor & Destructor Documentation

PascalWriter::PascalWriter (  ) 

Basic Constructor.

Definition at line 37 of file pascalwriter.cpp.

PascalWriter::~PascalWriter (  )  [virtual]

Empty Destructor.

Definition at line 40 of file pascalwriter.cpp.


Member Function Documentation

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

Call this method to generate Pascal code for a UMLClassifier.

Parameters:
c the class to generate code for

Implements SimpleCodeGenerator.

Definition at line 119 of file pascalwriter.cpp.

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

Returns "Pascal".

Returns:
the programming language identifier

Implements CodeGenerator.

Definition at line 42 of file pascalwriter.cpp.

QStringList PascalWriter::defaultDatatypes (  )  [virtual]

Return the default datatypes for your language (bool, int etc).

Default implementation returns empty list.

Reimplemented from CodeGenerator.

Definition at line 376 of file pascalwriter.cpp.

bool PascalWriter::isReservedKeyword ( const QString &  rPossiblyReservedKeyword  )  [virtual]

Check whether the given string is a reserved word for the language of this code generator.

Parameters:
rPossiblyReservedKeyword the string to check
rPossiblyReservedKeyword The string to check.

Reimplemented from CodeGenerator.

Definition at line 410 of file pascalwriter.cpp.

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

Get list of reserved keywords.

get list of reserved keywords

Returns:
the list of reserved keywords

Reimplemented from CodeGenerator.

Definition at line 425 of file pascalwriter.cpp.


The documentation for this class was generated from the following files:
  • pascalwriter.h
  • pascalwriter.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