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

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
  • codegenerators
  • as
aswriter.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2003 Alexander Blum <blum@kewbee.de> *
8  * copyright (C) 2004-2013 *
9  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10  ***************************************************************************/
11 
12 #ifndef ASWRITER_H
13 #define ASWRITER_H
14 
15 #include "simplecodegenerator.h"
16 #include "umloperationlist.h"
17 #include "umlassociationlist.h"
18 
19 class QTextStream;
20 
25 class ASWriter : public SimpleCodeGenerator
26 {
27  Q_OBJECT
28 public:
29 
30  ASWriter();
31  virtual ~ASWriter();
32 
33  virtual void writeClass(UMLClassifier *c);
34 
35  virtual Uml::ProgrammingLanguage::Enum language() const;
36 
37  virtual QStringList reservedKeywords() const;
38 
39 private:
40 
44  bool bPrivateSectionCommentIsWritten;
45 
46  void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as);
47  void writeAssociation(QString& classname, UMLAssociationList& assoclist, QTextStream &as);
48 
49 };
50 
51 #endif //ASWRITER
ASWriter
Class ASWriter is a ActionScript code generator for UMLClassifier objects.
Definition: aswriter.h:25
UMLClassifier
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
ASWriter::reservedKeywords
virtual QStringList reservedKeywords() const
Get list of reserved keywords.
Definition: aswriter.cpp:786
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:241
SimpleCodeGenerator
A simple code generator interface designed to work with the existing codewriters. ...
Definition: simplecodegenerator.h:28
ASWriter::ASWriter
ASWriter()
Constructor.
Definition: aswriter.cpp:463
simplecodegenerator.h
umloperationlist.h
umlassociationlist.h
ASWriter::~ASWriter
virtual ~ASWriter()
Destructor.
Definition: aswriter.cpp:470
ASWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Returns "ActionScript".
Definition: aswriter.cpp:777
QList
ASWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Call this method to generate Actionscript code for a UMLClassifier.
Definition: aswriter.cpp:478
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal