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

umbrello/umbrello

AdaWriter Class Reference

#include <adawriter.h>

Inheritance diagram for AdaWriter:

Inheritance graph
[legend]

List of all members.


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 33 of file adawriter.h.


Public Member Functions

 AdaWriter ()
virtual ~AdaWriter ()
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

AdaWriter::AdaWriter (  ) 

Basic Constructor.

Definition at line 41 of file adawriter.cpp.

AdaWriter::~AdaWriter (  )  [virtual]

Empty Destructor.

Definition at line 44 of file adawriter.cpp.


Member Function Documentation

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 148 of file adawriter.cpp.

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

returns "Ada"

Implements CodeGenerator.

Definition at line 49 of file adawriter.cpp.

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 520 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 542 of file adawriter.cpp.

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

get list of reserved keywords

Reimplemented from CodeGenerator.

Definition at line 557 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"
  • 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