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

umbrello/umbrello

AdaWriter Class Reference

Class AdaWriter is a code generator for UMLClassifier objects. More...

#include <adawriter.h>

Inheritance diagram for AdaWriter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Class AdaWriter is a code generator for UMLClassifier objects.

Create an instance of this class, and feed it a UMLClassifier when calling writeClass and it will generate an Ada package spec for that concept.

Definition at line 34 of file adawriter.h.


Constructor & Destructor Documentation

AdaWriter::AdaWriter (  ) 

Basic Constructor.

Definition at line 42 of file adawriter.cpp.

AdaWriter::~AdaWriter (  )  [virtual]

Empty Destructor.

Definition at line 46 of file adawriter.cpp.


Member Function Documentation

QStringList AdaWriter::defaultDatatypes (  )  [virtual]

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

Default implementation returns empty list.

Reimplemented from CodeGenerator.

Definition at line 530 of file adawriter.cpp.

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

returns "Ada"

Implements CodeGenerator.

Definition at line 53 of file adawriter.cpp.

bool AdaWriter::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.
Returns:
true if the keyword is reserved
Parameters:
rPossiblyReservedKeyword The string to check.

Reimplemented from CodeGenerator.

Definition at line 553 of file adawriter.cpp.

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

Get list of reserved keywords.

get list of reserved keywords

Reimplemented from CodeGenerator.

Definition at line 569 of file adawriter.cpp.

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

Call this method to generate Ada code for a UMLClassifier.

Parameters:
c the class to generate code for

Implements SimpleCodeGenerator.

Definition at line 156 of file adawriter.cpp.


The documentation for this class was generated from the following files:
  • adawriter.h
  • adawriter.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"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
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